[Vala] What is the internal access specification (Re: A couple of Vala questions)

2018-01-28 Thread Manish Jain
as internal, and access it from static main(), which I suppose can only use the public API. Does 'internal' hook into the Vala package system, meaning internal members cannot be accessed from a different package ? -- Tx and Regards, Manish Jain ___ vala

[Vala] A couple of Vala questions

2018-01-27 Thread Manish Jain
it. But main() accesses new MyApplication() easily. b) I can't make out any difference between GTK.Window and GTK.ApplicationWindow. Should an application's window derive from GTK.Window or from GTK.ApplicationWindow? They both seem to work perfectly same. Thanks for any tips. Manish Jain

[Vala] Is it possible in Vala to part-download remote file ?

2018-01-26 Thread Manish Jain
other Vala class supports such dd-style operations. If anyone can provide some tips, I shall be grateful indeed. Thanks Manish Jain ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Newbie help requested for scrolling a TextView

2018-01-26 Thread Manish Jain
On 01/25/18 18:04, Manish Jain wrote: > > > On 01/25/18 16:11, Al Thomas wrote: >> > On Thursday, 25 January 2018, 01:00:05 GMT, Manish Jain >> <jude.obsc...@yandex.com> wrote: >> >> > Despite a lot of effort to write an event handler, I sti

Re: [Vala] Need help to scroll a textview using a scale

2018-01-25 Thread Manish Jain
to be such a pain earlier. Regards Manish Jain ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Need help to scroll a textview using a scale

2018-01-25 Thread Manish Jain
Gtk. TextIter(); view.get_iter_at_position(out iter, out i, 0, 0); iter.set_line(iter.get_line() + 10); view.scroll_to_iter(iter, 0, false, 0, 0); } -- Thanks & Regards, Manish Jain ___ vala-list mailing list vala-

Re: [Vala] Newbie help requested for scrolling a TextView

2018-01-25 Thread Manish Jain
On 01/25/18 16:11, Al Thomas wrote: > On Thursday, 25 January 2018, 01:00:05 GMT, Manish Jain <jude.obsc...@yandex.com> wrote: > Despite a lot of effort to write an event handler, I still cannot get > the scale to tell the view to scroll. I have tried scrolling with the &

Re: [Vala] Newbie help requested for scrolling a TextView

2018-01-25 Thread Manish Jain
, or is there some way I can size the widgets myself from within my code? Thanks again. Manish Jain On 01/25/18 16:11, Al Thomas wrote: > On Thursday, 25 January 2018, 01:00:05 GMT, Manish Jain <jude.obsc...@yandex.com> wrote: > Despite a lot of effort to write an event hand

[Vala] Newbie help requested for scrolling a TextView

2018-01-24 Thread Manish Jain
the view to scroll. I have tried scrolling with the scroll_to_iter() method, but the iterator always lands me at the top of the file, whereas I want the view to move south. Can somebody please tip me how to control the view's position with the vertical scale in Vala ? -- Thanks & Regards, Ma

[Vala] Is there any Vala reference manual available ?

2017-09-01 Thread Manish Jain
and trial-and-error - which surely is not a pleasant thing. I installed DevHelp which seems to be just the thing I needed. It has documentation for almost all GNOME programming areas and even has a section titled Vala Reference. The Vala section, however, is entirely empty. Thank you. Manish Jain

Re: [Vala] Newbie help needed for Vala delegates/lambda expressions

2017-08-31 Thread Manish Jain
are independent of each other. argset_1 corresponds to the arguments for the lambda-expression, not for the client function fx. fx can use any argument list of its own and do anything as long as it returns [a function pointer to] a lambda that uses argset_1 Am I r

[Vala] Newbie help needed for Vala delegates/lambda expressions

2017-08-30 Thread Manish Jain
first call to f_add So what is wrong with my understanding ? Thanks for any help. Manish Jain ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list