Newbie Developer Forum

This forum will be closed shortly. Please post all development related questions and/or discussion on the Haiku Development, or Haiku 3rd party Development mailing lists.

colored BListView/BListItem/BStringItem

Forum thread started by TmTFx on Sat, 2011-05-28 09:58

I'm trying to write a simple news feed reader in python.
I implemented a listview for the newspapers and a listview for the news of the selected newspaper
Now i'm trying to make the news listview colored but i'm find hard to do it.
I found some sample code that maybe can help here:

http://haiku-os.org/legacy-docs/bebook/BListItem_Overview.html

but it's in C++
and i'm not sure how to implement it in python

is there some easy way to make a BStringItem colored? or can someone help me translate that class to python?

Launch default application?

Forum thread started by TmTFx on Fri, 2011-05-27 07:49

How can I launch the default application (for example for the default web browser) within my python app (or just by command line)?

Streamlining image compiled from source

Forum thread started by fortheloveofhaiku on Sun, 2011-05-01 01:51

Hey, I'm try to create a Haiku image, compiled from source that is without the various non essential applications, documentation and demo packages. Is there a Jam flag or a buildconfig option that might allow me to do this? Also, i highly doubt there is at this stage, but is there a way to compile it without the debug symbols.

The current image size is around 180mb i wouldn't mind getting that down to 100/120 or less if i can. My haiku kiosk image is going to be stored on an network attached storage so i am trying to strip down the image to the bare bones to move it around more quickly and assume the least possible amount of space.

Lazarus (delphi alternative)

Forum thread started by Nwn on Sat, 2011-04-30 19:03

Hi all!
First of all - sorry for my bad english.
I tried to look for similar topic but found none.
Liked the project haiku. I would like to participate in something like the life and development of the system. But I am very sad because I can not find the Lazarus delphi or other alternatives. Where once heard that there is a version of Lazarus and it works. Help me find it. And very much like a precompiled version.
PS: I agree that C - good programming language but now it's not my choice.
Best wishes.

installoptionalpackage docs

Forum thread started by mcandre on Tue, 2011-04-26 19:30

There's a bug in the git package obtained via installoptionalpackage, but I don't know how to contact the author. It's not the same author as http://haikuware.com/directory/view-details/development/miscellaneous/git, or he would have updated version info (v1.5 binaries vs v1.7 from installoptionalpackage).

Is there a Haiku equivalent to Ubuntu Package Search (http://packages.ubuntu.com/)?

This kind of website helps us figure out dependency issues and contact information for developers, among other things.

I'd appreciate it if someone could help me get in contact with the Haiku Git maintainer so that he can be informed of a missing dependency:

Without curl, Haiku's git has trouble cloning repositories:

~> installoptionalpackage git
~> git --version
git version 1.7.0.5
~> git clone https://github.com/joyent/node.git
Initialized empty Git repository in /boot/home/Downloads/node/.git/
fatal: Unable to find remote helper for 'https'
~> git clone http://github.com/joyent/node.git
Initialized empty Git repository in /boot/home/Downloads/node/.git/
fatal: Unable to find remote helper for 'http'

converting battery status to int (C++)

Forum thread started by fortheloveofhaiku on Tue, 2011-04-19 00:11

Hey all
i am trying to take the battery status, convert it into an int (possibly by trimming the output and parsing the percentile) and then displaying it in my C++ application. The problem i have is i cant seem to figure out how to read the battery state within haiku. does any one know of any 'acpi' type commands available in haiku or where the battery status applet gets its data from even.

Any help would be greatly appreciated!

Just tried haiku and love it

Forum thread started by towelie on Mon, 2011-04-11 17:48

I found out about haiku when i was looking for a python gui toolkit then i saw bethon target BeOS looked it up and found haiku so i burned the iso and tried it and i though it was really nice. I'm french but can speak english very well besides have typos every now and then.

I'm kind a python beginner and interested in learning more right now i got no work and nothing much to do all day then learn python etc. This is going to be like that for the next 6 months. So i was wondering if there was anything i could do to help out. Just tell me and ill get on it. I'm learning python as i said and will start learning Bethon shortly. So if you need testing or anything just ask me and ill be happy to help. I also have a good knowledge in apache mysql mybb and some html.

Syndicate content