A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
14
Task/Hello-world-Graphical/Cobra/hello-world-graphical.cobra
Normal file
14
Task/Hello-world-Graphical/Cobra/hello-world-graphical.cobra
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
@args -pkg:gtk-sharp-2.0
|
||||
|
||||
use Gtk
|
||||
|
||||
class MainProgram
|
||||
def main
|
||||
Application.init
|
||||
dialog = MessageDialog(nil,
|
||||
DialogFlags.DestroyWithParent,
|
||||
MessageType.Info,
|
||||
ButtonsType.Ok,
|
||||
"Goodbye, World!")
|
||||
dialog.run
|
||||
dialog.destroy
|
||||
Loading…
Add table
Add a link
Reference in a new issue