On Wed, Mar 03, 2010 at 15:22:59 -0600, Sandino Flores Moreno wrote:
> Is it possible for a weak ref to know when its peer object has been
> deleted (and then assigned to null)?
Object is not assigned null. Variable is. Anyway, I believe it still is the
plan (and reason why the current kind is cal
Hello.
Is it possible for a weak ref to know when its peer object has been
deleted (and then assigned to null)?
Because, suppose you have a weak reference, then the real object is deleted.
So your "weak reference" should be notified, otherwise you might get segfaults.
Something to better write th
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.
_
Hi.
> *Code*
> var url_repo = builder.get_object ("url_repo") as ComboBoxEntry;
> url_repo.append_text("lolo");
>
> string url = url_repo.get_active_text();
> stdout.printf("%s\n",url);
>
> *Code**
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
Hi,
I'm having trouble with the module example from
http://live.gnome.org/Vala/TypeModules.
I'm using MinGW (GCC 4.4.0) on Windows (XP with SP3) with the recent (0.7.10)
Vala compiler from http://code.google.com/p/valide/downloads/list.
Here's what I do:
/**