Re: How do you get the data from a GList?

2006-11-17 Thread Matias Torres
Ouch! change this next = g_slist_next (node); to node = g_slist_next (node); ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

GtkTreeRowReferences and ¿signal 155?

2006-10-18 Thread Matias Torres
Hi all, I'm building an app with a TreeView with the selection mode set to multiple. When i have to delete data from the tree view, i get a list of selection with gtk_tree_selection_get_selected them i transform this list into another list with GtkTreeRowReferences in it. The deletion of the d

Re: GTK table insert row

2006-10-12 Thread Matias Torres
Guy Rouillier escribió: > Razvan wrote: > >> Hi there >> >> I have the following problem: >> I have a dynamic created table and at a moment I want to insert a whole row >> into the table but I dont know how to do it. I dont want to re-create the >> entire table. Is there any possibilies to do su

SpinButton and Decimal separator

2006-10-09 Thread Matias Torres
Hi all, I'm using a spin button to enter float numbers. The default locale has the ',' as decimal separator, but i want to also use the '.' as the decimal separator. Is there a way to change this without changing the locale? Thanks in advance, matias

Re: Gettext

2006-10-03 Thread Matias Torres
Tristan Van Berkom escribió: > Matias Torres wrote: > >> Hi all! >> Yes, I know it's not a GTK question but i couldn't find an answer to >> my problem. >> >> After building my application (if it helps, it uses gtk), i use >> gettext for t

Re: Gettext

2006-10-03 Thread Matias Torres
Tristan Van Berkom escribió: > Matias Torres wrote: > >> Hi all! >> Yes, I know it's not a GTK question but i couldn't find an answer to >> my problem. >> >> After building my application (if it helps, it uses gtk), i use >> gettext for t

Gettext

2006-10-03 Thread Matias Torres
Hi all! Yes, I know it's not a GTK question but i couldn't find an answer to my problem. After building my application (if it helps, it uses gtk), i use gettext for translating it, and, in linux it works just fine. But, talking about windows, well .. it doesn't.. Note: Gtk Widgets DO translate

Problem with the stamp in gtktreeiter

2006-09-17 Thread Matias Torres
Hi I'm trying to make a widget that works just like the address bar in epiphany (a combo box with completion) The widget i'm workin on is a composite widget that uses GtkComboBoxEntry and GtkEntryCompletion. This widget has a unique gtktreemodel that both, GtkComboBoxEntry and GtkEntryCompleti

Gtk Curves

2006-09-12 Thread Matias Torres
I FORGOT ABOUT SOMETHING, I NEED THE LIBRARY TO BE PORTABLE TO WINDOWS. THANKS! ** hello, i'm trying to make a curve based on some values passing a float array to a GtkCurve: gtk_curve_set_vector ( GTK_CURVE (income_curve), length, array) This results in well.. not a curve, b

GTK Curves

2006-09-12 Thread Matias Torres
hello, i'm trying to make a curve based on some values passing a float array to a GtkCurve: gtk_curve_set_vector ( GTK_CURVE (income_curve), length, array) This results in well.. not a curve, but a number of straight lines like this: 4 3 2 ___

Re: Reference Counting

2006-09-11 Thread Matias Torres
ABOUT WEAK_REFERENCES I can't get g_object_weak_ref working, this is the (full) example I've tried it on. It tryes to free a GDate which is in a gtktreemodel. // #include #include #include void weak_ref (gpointer data, GObject *object) { g_date_free (data);

Re: Reference Counting

2006-09-07 Thread Matias Torres
Thanks for answering. So basically... (About the g_object_weak_ref) GDate *date = g_date_new_dmy (1,1,2006); GtkEntry *entry = gtk_entry_new (); g_object_weak_ref (G_OBJECT (entry), (GWeakNotify) g_date_free, date); After doing this

Reference Counting

2006-09-06 Thread Matias Torres
Hi all, I'm working on some simple app which only use gtk and sqlite libraries and i KNOW it's leaking memory. Would you please help me? (damn beatles!, i shouldn't be listening music when writing a mail!) *- Is there a way to pass a function to free certain struct in a GtkTreeModel so GTK fre

Re: Search for a widget that can completion and option_box

2006-08-30 Thread Matias Torres
I had the same problem a few weeks ago. I modified a function i found in a webpage (put koders in google), this is the fuction: /* * This function returns a GtkComboBox with a GtkEntryCompletion inside instead a GtkEntry * it needs a GtkTreeModel containing the data and the column used to sea