6, 2010 at 4:20 PM, Arley Consuegra Rosello
aconsue...@uci.cu wrote:
I'm have de following code.
public class HelloVala: GLib.Object {
public static int main (string[] args) {
string cadena = uno,dos,tres,cuatro;
stdout.printf(Cantidad de elementos %i\n,cadena.split(,).length);
return
-0500, Arley Consuegra Rosello wrote:
Hello, I was looking the basic gio sample there a file is read line by
line.
Exist some way to read the without using a while loop?
php have a funtion get_contens that is what I need.
In gio reference manual I found g_data_input_stream_read_upto_finish
Sorry I donĀ“t have been see the answer that was posted before
- Mensaje original -
De: Arley Consuegra Rosello aconsue...@uci.cu
Para: Arkadi Viner arkash...@gmail.com
CC: vala-list@gnome.org
Enviados: Domingo, 20 de Junio 2010 22:13:45 (GMT-0500) Auto-Detected
Asunto: Re: [Vala] Adding
Hello, the signal 'activate' from MenuItem don't expect any argument,
this say
http://valadoc.org/gtk+-2.0/Gtk.MenuItem.activate.html
but in the doc of Gtk apear GtkMenuItem *menuitem, gpointer user_data
like argument.
Some times when I use these signal without parameter work fine, example
Hello, I'm trying to get the text in a ComboBoxEntry created with glade
(GtkBuilder format)
In the glade file I add a ListStore (with a gchararray column) to the
ComboBoxEntry .
*Code*
var url_repo = builder.get_object (url_repo) as
Sorry I'm stupid.
Secondly, are you sure some text is selected when you code runs? If
nothing is selected, nothing will be returned.
Thank to the advice I solved my problem.
I was running url_repo.get_active_text();
before write any data in the ComboBoxEntry.
Hello, I'm testing the GtkTreeView but the signal row-activated don't
want work, the program says segmentation fails
below the code of the fuction that must be called by the signal
row-activated
_datosRepo is a TreeStore
.
.
.
[CCode (instance_pos = -1)]
protected void
Thanks, problem solved.
Is posible that in the future the compiler can detect if the signal is
connected by Gtk.Builder and the the first parameter (signal source) to
be omitted?
pd : Sorry
my English is very bad.
___
Vala-list mailing list
Hello again.
I'm testing the GtkTreeView with GtkTreeStore but don't find in the doc how to
get value of an selected row.
With Gtkmm I found an example in
http://git.gnome.org/browse/gtkmm-documentation/tree/examples/book/treeview/tree/examplewindow.cc
.
.
.
void
Someone can explain me how to bind a C library that is not based in
gobject.
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
Hello I'm beging with Vala and want to know how to run aplications of the
system with Vala.
Example:
In c++ I could use system (some thing ) or exec , etc.
I want too, read a file using ssh.
Tthere are some library to do that?
pd:I don't write very well in English sorry.
11 matches
Mail list logo