Mailinglist Archive: yast-devel (53 mails)
< Previous | Next > |
[yast-devel] New ReplacePoint CWM widget
- From: Josef Reidinger <jreidinger@xxxxxxx>
- Date: Thu, 19 Jan 2017 16:37:06 +0100
- Message-id: <20170119163706.584626e3@pepa.labs.suse.cz>
Hi,
I implemented new CWM widget called ReplacePoint[1]. I think example is
more then thousand words, so here it is[2]. Example basically have one
button and after pressing it, it will change widget below from list of
widgets.
In short only interesting method of this widget, is #replace, which
gets CWMWidget instance and shows in its place this widget and remove
old one. All callbacks and events works without any issues for newly
attached widget.
If you have any questions or need help with usage of this new widget,
do not hesitate to contact me.
Josef
[1] http://www.rubydoc.info/github/yast/yast-yast2/CWM/ReplacePoint
[2]
https://github.com/yast/yast-yast2/blob/master/library/cwm/examples/replace_point_example.rb
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx
I implemented new CWM widget called ReplacePoint[1]. I think example is
more then thousand words, so here it is[2]. Example basically have one
button and after pressing it, it will change widget below from list of
widgets.
In short only interesting method of this widget, is #replace, which
gets CWMWidget instance and shows in its place this widget and remove
old one. All callbacks and events works without any issues for newly
attached widget.
If you have any questions or need help with usage of this new widget,
do not hesitate to contact me.
Josef
[1] http://www.rubydoc.info/github/yast/yast-yast2/CWM/ReplacePoint
[2]
https://github.com/yast/yast-yast2/blob/master/library/cwm/examples/replace_point_example.rb
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx
< Previous | Next > |