[Vala] access static method



How can i access a static method(Methods in Namespace are static?!) from a method inside a class that contains a method with the same name?

namespace valaDevelop
{
    public string get_text(TextBuffer buffer, bool include_hidden_chars = true)
    {
    ...
    }

    public class abc
    {
        public void mymethod()
        {
            ----> //now i want to access the static method above not the one inside the class
        }
public string get_text()
{
...
}

    }

}

I have already tried a few options, but it did not work
"global.get_text", "valaDevelop.get_text", "::get_text" :-(


Thanks for Help
Wolfgang






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]