|
Post by vagos2108 on Mar 23, 2012 20:56:50 GMT 1
Dear friends, Are you looking for a calendar with support of write down notes per day? Try VDiary v1.0 maybe you like the program. If you find any bug please tell me about it. With my regards, vagos2108 Attachments:
|
|
|
Post by vagos2108 on Mar 23, 2012 20:58:38 GMT 1
Here is a screenshot... Attachments:
|
|
|
Post by fragadelic on Mar 23, 2012 21:39:53 GMT 1
Very cool. I'll try it out this weekend.
|
|
|
Post by konaexpress on Mar 23, 2012 23:10:14 GMT 1
Looks Sweet! ;D
|
|
|
Post by vovchik on Mar 24, 2012 9:29:48 GMT 1
Dear vagos2108, Again, very nice. You have really coded a lot - over 1000 lines! Peter gives us an example, modified by me slightly to expand the window and to show a window icon, that uses the gtk calendar widget, which would save you a lot of code. When you double click on a date, it changes the window dimensions. This is where a scrollbox could be attached for notes, and the app would be tiny, since the date business is handled by the calendar widget itself, saving lots and lots of work. OK, yours is much prettier, I must admit, but it's an idea. The size of the gtk calendar widget and the font style can be changed, too. The gtk documentation has an example called calendar.c, which can be ported to BaCon rather easily (there are python, php and perl ports already). It is in the attached archive, too. With kind regards, vovchik Attachments:
|
|
|
Post by konaexpress on Mar 25, 2012 6:18:10 GMT 1
umm.........New guy here.
Why use gtk? Code it platform/lib independent so any one can use it without all the dependencies.
Maybe it is just me but all the deps are killing distros. I have seen really cool apps but will not load them due to all the deps.
-John
|
|
|
Post by vovchik on Mar 25, 2012 8:46:40 GMT 1
Dear John,
Why GTK? I'll just give you a very brief explanation.
There is no true platform independent GUI that is popular across all platforms. Natively, Microsoft has its own, Linux/Unix has its own (several) and Apple has two at the moment (old Carbon/new Cocoa). You need to use widgets to display common user-interface elements. GTK is one such system of graphical widgets that runs on Linux/Unix (including OSX) and Microsoft. Carbon/Cocoa do not run on platforms other than Mac, and the Windows gui is strictly for Windows. GTK is also present nearly by default on all Linux/Unix systems - so there are no additional dependencies on GTK for most Linux/Unix systems. The libraries are present and can be called without installing anything additional. With OSX, it is a little different because they are not there by default but GTK is available and can be installed. The same holds for Windows. Since Bacon uses C libraries, the widget set needs to be C-based (the widgets become available through calls to functions in shared C libs). While it would be nice not to have to write for any particular set of widgets and use only "meta-descriptors", this isn't the case in the real world. It might be eventually, but that situation is still years away and may never materialize. One could, perhaps, write universal wrappers that would translate meta-descriptors into platform-native widgets, but that is a very major undertaking.
With kind regards, vovchik
|
|
|
Post by fragadelic on Mar 25, 2012 16:14:28 GMT 1
Other than KDE, all other popular linux window managers and desktops use gtk so it should not be a dependency issue.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Mar 25, 2012 16:49:24 GMT 1
IUP is the only native C based portable GUI I know of.
|
|