Search found 84 matches
- Thu 07 Oct 2010, 10:25
- Forum: Programming
- Topic: Vala and Genie programming
- Replies: 516
- Views: 309871
Close file
Hi Mobeus and other, In fact you can close the file if you want ! Use pointer ! [indent=4] init fn : string = "/tmp/test.sh" doit(fn) def doit (filename : string) fp0 : FileStream* = FileStream.open (filename, "w") fp1 : unowned FileStream = fp0 fp1.puts ("ls /root") fp...
- Sat 11 Sep 2010, 09:09
- Forum: Programming
- Topic: Vala and Genie programming
- Replies: 516
- Views: 309871
Hi Micko, I made some changes in your code to avoid warnings ! /*power applet, 01micko 20100910*/ /*thanks to technosaurus and nikobordx*/ /*icons must be in /usr/share/icons*/ [indent=4] /* Build with valac --pkg gtk+-2.0 --pkg gdk-x11-2.0 eightychg.gs */ uses Gtk Gdk init Gtk.init (ref args) var t...
- Tue 31 Aug 2010, 15:11
- Forum: Programming
- Topic: Vala and Genie programming
- Replies: 516
- Views: 309871
- Tue 31 Aug 2010, 10:16
- Forum: Programming
- Topic: Vala and Genie programming
- Replies: 516
- Views: 309871
I made only 2 small samples with libsoup:
http://code.valaide.org/content/genie-l ... ple-sample
http://code.valaide.org/content/genie-l ... ple-server
I can help you if you post your code (if your code is not top secret ! )
Nicolas.
http://code.valaide.org/content/genie-l ... ple-sample
http://code.valaide.org/content/genie-l ... ple-server
I can help you if you post your code (if your code is not top secret ! )
Nicolas.
- Tue 31 Aug 2010, 09:31
- Forum: Programming
- Topic: Vala and Genie programming
- Replies: 516
- Views: 309871
- Mon 30 Aug 2010, 17:49
- Forum: Programming
- Topic: Genie global and static variables?
- Replies: 4
- Views: 3146
It's a pleasure to help.
I made some samples here: http://code.valaide.org/search/node/genie
You can find some informations here: http://live.gnome.org/Genie
Nicolas.
I made some samples here: http://code.valaide.org/search/node/genie
You can find some informations here: http://live.gnome.org/Genie
Nicolas.
- Mon 30 Aug 2010, 09:41
- Forum: Programming
- Topic: Genie global and static variables?
- Replies: 4
- Views: 3146
Genie global and static variables?
Hi, Can you try this: [indent=4] uses Gtk init Gtk.init (ref args) var test = new Testwin () test.show_all () Gtk.main () count : int = 1 class Testwin : Window init title = "Test" default_height = 100 default_width = 300 window_position = WindowPosition.CENTER destroy.connect(on_exit_clic...
- Sat 28 Aug 2010, 09:59
- Forum: Programming
- Topic: Vala and Genie programming
- Replies: 516
- Views: 309871
Genie and Sqlite
Hi growler, Can you try this: [indent=4] uses Sqlite class SqliteSample : Object db : Sqlite.Database def callback (n_columns: int, values : array of string, column_names : array of string ) : int for i:int = 0 to n_columns print ("%s = %s\n", column_names[i], values[i]) print ("\n&qu...
- Wed 28 Oct 2009, 13:39
- Forum: Unsorted
- Topic: Nicoedit 2.3 - text editor with lots of goodies
- Replies: 30
- Views: 33867
- Wed 28 Oct 2009, 13:36
- Forum: Unsorted
- Topic: Nicoedit 2.3 - text editor with lots of goodies
- Replies: 30
- Views: 33867
- Mon 26 Oct 2009, 13:16
- Forum: Unsorted
- Topic: Nicoedit 2.3 - text editor with lots of goodies
- Replies: 30
- Views: 33867
Hi Barry, Your idea is not bad, but i don't really know how to make this. I don't know about the html language, and i don't think there is an api for converting a sourceview or textview to html. I think the most simple way is to use a parser who automatically add the color for word in html format, p...
- Sat 24 Oct 2009, 09:04
- Forum: Programming
- Topic: Vala and Genie programming
- Replies: 516
- Views: 309871
Hi Caleb,
If you have another question you can contact the "genie" creator Jamie at jamie.mccrack@gmail.com
Nicolas.
If you have another question you can contact the "genie" creator Jamie at jamie.mccrack@gmail.com
Nicolas.
- Fri 23 Oct 2009, 17:42
- Forum: Programming
- Topic: Vala and Genie programming
- Replies: 516
- Views: 309871
- Wed 21 Oct 2009, 08:36
- Forum: Programming
- Topic: Vala and Genie programming
- Replies: 516
- Views: 309871
Hi Caleb,
I've created some gtk examples in http://code.valaide.org/
I'm also working on a code generator for genie, and i will make a website with many sample.
Nicolas.
I've created some gtk examples in http://code.valaide.org/
I'm also working on a code generator for genie, and i will make a website with many sample.
Nicolas.
- Sun 20 Sep 2009, 11:59
- Forum: Programming
- Topic: Vala and Genie programming
- Replies: 516
- Views: 309871
- Sun 20 Sep 2009, 11:56
- Forum: Unsorted
- Topic: Nicoedit 2.3 - text editor with lots of goodies
- Replies: 30
- Views: 33867
Hi, I made a new version of NicoEdit (2.4) News: When opening a document, the file browser start from the last used directory. When a new document is created, it appear in the history menu. When you press F5, a dialog is opened with history menu. When document is modified with another texteditor, Ni...
- Wed 16 Sep 2009, 12:37
- Forum: Unsorted
- Topic: Nicoedit 2.3 - text editor with lots of goodies
- Replies: 30
- Views: 33867
- Wed 16 Sep 2009, 12:09
- Forum: Unsorted
- Topic: Nicoedit 2.3 - text editor with lots of goodies
- Replies: 30
- Views: 33867
- Wed 16 Sep 2009, 08:54
- Forum: Unsorted
- Topic: Nicoedit 2.3 - text editor with lots of goodies
- Replies: 30
- Views: 33867
- Tue 15 Sep 2009, 14:06
- Forum: Programming
- Topic: Vala and Genie programming
- Replies: 516
- Views: 309871
Hi again,
I make a new version of NicoEdit.
This version correct a bug found on 2.3 when you use the fullscreen.
Download it here: http://www.murga-linux.com/puppy/viewto ... h&id=21799
See you,
Nicolas.
I make a new version of NicoEdit.
This version correct a bug found on 2.3 when you use the fullscreen.
Download it here: http://www.murga-linux.com/puppy/viewto ... h&id=21799
See you,
Nicolas.