Re: The Big Gtk limitations: a reliable GUI builder

2016-11-29 Thread Andrea Zagli via gtk-app-devel-list
Il giorno mer 30 nov 2016 01:08:13 CET, Daniel Kasak ha scritto: I can confirm both these bugs ( crash copying the treeview, margins not rendered under altering properties ) under Linux. Actually the top and bottom margins are rendered immediately, but the left and right margins need you to

g_date_time_format not utf8 under win?

2016-10-11 Thread Andrea Zagli
i use g_date_time_format %A to get the full weekday name but under win i saw that the function returns not an utf8 string but an iso-8859-1 (that i think is my win10 locale) is that a bug? ___ gtk-app-devel-list mailing list

GtkAdjustment value-changed key pressed

2016-09-27 Thread Andrea Zagli
hi is there a way to find key pressed when value-changed event of GtkAdjustment is emitted without using key-press/release-event? in general, is there a way to find key pressed at any point without using key-press/release-event? thanks in advance

Re: data type that preserve order

2015-10-31 Thread Andrea Zagli
Il giorno sab 31 ott 2015 08:10:20 CET, Andrea Zagli ha scritto: Il giorno ven 30 ott 2015 19:09:47 CET, Emmanuele Bassi ha scritto: Hi; On 30 October 2015 at 16:43, Andrea Zagli <aza...@libero.it> wrote: is there a data type, similar to array, that preserve the order on which el

Re: data type that preserve order

2015-10-31 Thread Andrea Zagli
Il giorno ven 30 ott 2015 19:09:47 CET, Emmanuele Bassi ha scritto: Hi; On 30 October 2015 at 16:43, Andrea Zagli <aza...@libero.it> wrote: is there a data type, similar to array, that preserve the order on which elements are inserted? All the array and list types preserve the

gtkglarea works under win32?

2015-05-26 Thread Andrea Zagli
on some pc i got segfaults; and in other a got fb setup not supported thanks in advance ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtkglarea works under win32?

2015-05-26 Thread Andrea Zagli
Il giorno mar 26 mag 2015 10:15:15 CEST, Andrea Zagli ha scritto: on some pc i got segfaults; and in other a got fb setup not supported thanks in advance i forgot to say that i tried with gtk3-demo under msys2 (http://sourceforge.net/projects/msys2

gnotification under win32

2015-05-08 Thread Andrea Zagli
gnotification works under win? i get a segfault on g_application_send_notification (GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed) or i did't uderstand how use it? i tried with this code (i also tried without gtkapplication, but only with

convert gtktable to gtkgrid

2014-09-23 Thread Andrea Zagli
i have many glade files made for gtk2 with gtktable in gtk3 gtktable is deprecated in favour of gtkgrid is there an easy way to convert gtktable to gtkgrid? thanks in advance ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

disable mouse click

2013-10-17 Thread Andrea Zagli
i want to disable mouse click on every widget of a window when i change the cursor to GDK_WATCH is there a way? thanks in advance ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

gobject across network

2013-06-16 Thread Andrea Zagli
is there a way to send a gobject from a server to a client via network (ex. via http or other protocol)? i want to create a gobject in a daemon in a server and pass it to a client thanks in advance ___ gtk-app-devel-list mailing list

default log handler

2012-01-09 Thread Andrea Zagli
is there a way to set a log handler for every log domain my app uses, without knowing them? for example if my application uses libgda, i can know the log domain looking inside source code; but if libgda use other libraries that i don't know, how can i set a log handler for these? of

edit gtktreestore/gtkliststore structure at runtime

2011-04-07 Thread Andrea Zagli
is there a way to edit a gtktreestore/gtkliststore at runtime after it was loaded from a gtkbuilder xml file (made with glade)? in particular i want to append/insert/remove columns i could create these columns initially and after show/hide their, but i have a variable number of these

change print settings inside begin-print

2010-10-04 Thread Andrea Zagli
as the object (i mean the GtkPrintSettings of the GtkPrintOperation passed to the signal) does it work? i have tried but it doesn't seem to work i want to change, for examples the number of copies, inside the signal and not before calling gtk_print_operation_run because i want to print

Re: [semi-OT] gdb backtrace on windows

2009-10-21 Thread Andrea Zagli
Il giorno lun 19 ott 2009 21:52:38 CEST, Tor Lillqvist ha scritto: my problem is that when my program crash i get from the backtrace only these two rows #0  0x77c035e4 in ?? () #1  0x in ?? () what am I doing wrong? Nothing, probably, that would cause this unuseful backtrace, you

[semi-OT] gdb backtrace on windows

2009-10-19 Thread Andrea Zagli
i'm trying to debug a gtk+ based program on windows inside mingw/msys with gdb (7.0) my problem is that when my program crash i get from the backtrace only these two rows #0 0x77c035e4 in ?? () #1 0x in ?? () i used autotools, so my program is compiled with -g (i saw it during

Re: csv (comma separated value) file

2009-08-04 Thread Andrea Zagli
Il giorno lun 03 ago 2009 18:03:43 CEST, Andrea Zagli ha scritto: i didn't find nothing about to manage (read/write) csv files with glib do you know about something that i didn't find? otherwise i might develop it i found that libgda have a csv parser [1] i'll try in the next few days [1

csv (comma separated value) file

2009-08-03 Thread Andrea Zagli
i didn't find nothing about to manage (read/write) csv files with glib do you know about something that i didn't find? otherwise i might develop it thanks in advance ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: csv (comma separated value) file

2009-08-03 Thread Andrea Zagli
Il giorno lun 03 ago 2009 18:45:28 CEST, Tristan Van Berkom ha scritto: On Mon, Aug 3, 2009 at 12:03 PM, Andrea Zagliaza...@inwind.it wrote: i didn't find nothing about to manage (read/write) csv files with glib do you know about something that i didn't find? Currently its pretty easy using

[announce] released the first version of GtkGis

2009-07-11 Thread Andrea Zagli
GtkGis is a widget for Gtk+ to embed basic GIS functionalities (viewing maps, pan, zoom, etc.) inside Gtk+ programs GtkGis requires GooCanvas[1] and Gdal[2] this first version is a release only for the announce, beacause the only thing that you can do is load shape files base on point or

gtk gis

2009-06-11 Thread Andrea Zagli
do you know some widget that can display maps (from shp or postgis) and also allows very simple editing? on google i found only (old) widgets without editing thanks in advance ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

gtk version for windows 9x

2009-05-29 Thread Andrea Zagli
which is the latest version of gtk working on windows 9x? and libglade? thanks in advance ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Date edit widget?

2009-02-13 Thread Andrea Zagli
Il giorno gio 12 feb 2009 19:13:40 CET, John Coppens ha scritto: Once upon a time there used to be a gnome_date_edit widget. But with the tendency to eliminate most of gnome ui things, I was looking what to use if some GTK replacement existed instead. I only found GtkCalendar - but I don't want

Re: gtk_entry question (example from faq)

2008-12-08 Thread Andrea Zagli
Il giorno dom 07 dic 2008 03:05:12 CET, Vasiliy G Tolstov ha scritto: [...] or you can try with http://gtkmaskedentry.sourceforge.net/ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: gtk_entry question (example from faq)

2008-12-07 Thread Andrea Zagli
Il giorno dom 07 dic 2008 03:05:12 CET, Vasiliy G Tolstov ha scritto: [...] or you can try with http://gtkmaskedentry.sourceforge.net/ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

[semi-OT] dependencies libraries

2008-08-31 Thread Andrea Zagli
how can i do to know the exact libraries versions which my applications depends on? for example: if i develop with gtk 2.12 (but i can do the same reasoning with any other library) how can i do to know if i used (or not) new functions/classes introduced on that version? (of course

Re: gtktree inside combobox

2007-09-13 Thread Andrea Zagli
Il giorno gio, 13/09/2007 alle 09.44 +0200, Guenther Meyer ha scritto: I have a question regarding a combobox: what I currently have, is a filled gtktreemodel, and a gtktreeview, that works great in its own window. but it should be possible to render the data into a combobox. I played

macro IS_xxx

2007-06-24 Thread Andrea Zagli
i have GObject A and GObject B; B is a A's subclass obj_a = a_new (); obj_b = b_new (); (a_new() and b_new() return GObject) when i call IS_OBJECT_A (obj_b) it returns TRUE: why? is it a bug? or is it normal? or am i mistaking something? ___

Re: macro IS_xxx

2007-06-24 Thread Andrea Zagli
Il giorno dom, 24/06/2007 alle 10.32 +0200, David Nečas (Yeti) ha scritto: On Sun, Jun 24, 2007 at 09:48:01AM +0200, Andrea Zagli wrote: i have GObject A and GObject B; B is a A's subclass obj_a = a_new (); obj_b = b_new (); (a_new() and b_new() return GObject) when i call

Re: Do we have a date control widget in gtk??

2007-01-08 Thread Andrea Zagli
Il giorno lun, 08/01/2007 alle 15.33 +0530, Sarath Potharaju ha scritto: I am relatively new and learning GTK, i am looking for a date control widget which can do the following functionality, The date control will provide an indication of current date and launches a popup which allows the

RE: GtkEntry format

2006-12-14 Thread Andrea Zagli
Am Freitag, den 15.12.2006, 10:45 +0530 schrieb Anurag Chaudhary: Any help on this: I want 12345678 to be displayed like Hi, look here, http://www.chipx86.com/wiki/Main_Page ,may be you will find what you search! or here http://gtkmaskedentry.sourceforge.net/

Re: GtkTreeview

2006-11-27 Thread Andrea Zagli
Il giorno lun, 27/11/2006 alle 12.03 +0800, sunzysjzri ha scritto: a simple question, that which signal of GtkTreeView could i use to catch a mouse clicked event? the GtkTreeSelection's changed signal for a single click; the GtkTreeView's row-activated for a double click

normal gtk code mixed with libglade

2006-11-12 Thread Andrea Zagli
is there some known problem about using normal gtk code mixed with libglade??? i explain myself better when i use libglade to show a window and then i use normal gtk code (without liglade) to show another window i receive a strange segfault the first window, showed with libglade, is showed with

Re: Treeview with different GtkCellRenderes at each row?

2006-11-10 Thread Andrea Zagli
Il giorno ven, 10/11/2006 alle 12.02 -0200, Fabricio Rocha ha scritto: Do you have any idea of how to create a listview in which one of the colums uses a different GtkCellRenderer for each row? http://mail.gnome.org/archives/gtk-app-devel-list/2006-August/msg00288.html

Re: Glade GUI: changing mechanism

2006-10-21 Thread Andrea Zagli
Il giorno sab, 21/10/2006 alle 14.03 +0200, Fernando Apesteguía ha scritto: Currently, we're using code generation in our project to build the GUI. However, AFAIK there is no more code generation support in Glade, so we would like to build our GUI from a XML file. Can you point me to a guide

Re: Database connection et al

2006-09-07 Thread Andrea Zagli
Il giorno gio, 07/09/2006 alle 18.55 +0530, Sucheta Ghosh ha scritto: Is this possible to connect gtk+ with mysql database or any other database? If answer is yes then how is this possible? for example www.gnome-db.org Another question: How can I select one entry from combobox with gtk?

gtktreeview

2006-08-23 Thread Andrea Zagli
is there a way to have various cellrender type for each row for the same column? example: row 1 with gtkcellrenderertext row 2 with gtkcellrenderercombo row 3 with gtkcellrenderertext row 4 with gtkcellrenderertoggle ecc ecc ___ gtk-app-devel-list

Re: Limiting Entry widget to numeric input

2006-07-09 Thread Andrea Zagli
Il giorno ven, 07/07/2006 alle 16.02 -0700, zagat ha scritto: I am using glade to setup a user interface and I would like to have Entry boxs which only accept numerical input (both integer and floating point, both positive and negative values) and also perform data validation (ie, data

RE: Limiting the number of characters

2006-06-22 Thread Andrea Zagli
Thank You Andrea, but I'm wondering can it be embedded into GtkListStore. Sorry to trouble you but please throw some light on this. gtkmaskedentry version 0.0.2 has a gtkcellrenderer ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Limiting the number of characters

2006-06-21 Thread Andrea Zagli
Il giorno lun, 19/06/2006 alle 16.55 +0530, Sailaxmi korada ha scritto: Can anybody pl. help me of how to limit the number of characters that can be entered in an editable cell of List Store. I want to restrict the user to enter a hex value in 0x%4x format (total 6 characters). you can try

Re: Date and ComboBox

2006-04-07 Thread Andrea Zagli
Il giorno ven, 07/04/2006 alle 19.31 +0200, Geoffroy Culot ha scritto: I try to compile my apllication witch use GTK+2.0 and now GnomeUI for a GnomeDateEdit Before the addition of the Gnome Widget , I was using this command gcc `pkg-config --libs --cflags gtk+-2.0` GTK1.c -o GTK1 and

Re: Date and ComboBox

2006-04-05 Thread Andrea Zagli
Il giorno mer, 05/04/2006 alle 08.48 +0200, Geoffroy Culot ha scritto: I'm a beginner in GTK programming, and I'm looking for a date piker ... a date selector witch use a combo box and a calendar object. I see that this widget exist (GnuCash ?) but I'm not able to find it now ... Do you