
Search found 415 matches
- Mon May 16, 2016 10:32 am
- Forum: Announcement
- Topic: jaPBdoc
- Replies: 16
- Views: 9626
Re: jaPBdoc
Cool! 

- Sun Jan 06, 2013 6:00 pm
- Forum: Linux
- Topic: default font
- Replies: 12
- Views: 5948
Re: default font
You should call g_free_() on the *FontDescription memory.
See: http://developer.gnome.org/pango/stable/pango-Fonts.html#pango-font-description-to-string
Also MemorySize() is wrong. Use -1 and hope Pango does
return correct strings. (Btw, it may be possible that the string
is UTF8, but I don't know ...
See: http://developer.gnome.org/pango/stable/pango-Fonts.html#pango-font-description-to-string
Also MemorySize() is wrong. Use -1 and hope Pango does
return correct strings. (Btw, it may be possible that the string
is UTF8, but I don't know ...
- Tue Dec 25, 2012 11:51 am
- Forum: Linux
- Topic: GTK bindings
- Replies: 1
- Views: 1673
Re: GTK bindings
Here: http://remi.secretly.de/downloads/gtk2.pbi
Search for gir2pb and my name to learn how to generate
such include files yourself.
You can either remove the gtk.res resident file or comment
some constants in the file above to make it compile.
Removing the residents is probably the simpler and ...
Search for gir2pb and my name to learn how to generate
such include files yourself.
You can either remove the gtk.res resident file or comment
some constants in the file above to make it compile.
Removing the residents is probably the simpler and ...
- Tue Nov 27, 2012 12:01 pm
- Forum: Linux
- Topic: UserInformation
- Replies: 7
- Views: 3272
Re: UserInformation
Is it wrong to do so?
It's fine as long as those env variables are set. It's even
better if you want to allow a program's HOME, USER, etc.
to be overwritten when starting a program. Like:
HOME=/tmp/tmp_home ./myprogram
The best way would be to first check the env var and,
if it is empty, use the ...
It's fine as long as those env variables are set. It's even
better if you want to allow a program's HOME, USER, etc.
to be overwritten when starting a program. Like:
HOME=/tmp/tmp_home ./myprogram
The best way would be to first check the env var and,
if it is empty, use the ...
- Tue Nov 13, 2012 12:14 pm
- Forum: General Discussion
- Topic: Is there something like a documentation creator?
- Replies: 6
- Views: 1975
Re: Is there something like a documentation creator?
Cool!ts-soft wrote:Thx Remi![]()
I have updated your version to support PB5.00 and x64
I have added a windows executable and run.bat for windows user.
Download: https://dl.dropbox.com/u/3086026/jaPBDoc.zip

- Mon Nov 12, 2012 7:50 pm
- Forum: Tricks 'n' Tips
- Topic: [Linux] Clutter Demo
- Replies: 16
- Views: 5709
Re: [Linux] Clutter Demo
I'm toying with the idea to make a few functions and a documentation file dedicated to purebasic users (once I get everything... Which is not the case right now). Would it be possible to make a windows import? (I don't even have a windows partition on my comp anymore to try...)
That could be very ...
That could be very ...
- Mon Nov 12, 2012 7:38 pm
- Forum: General Discussion
- Topic: Is there something like a documentation creator?
- Replies: 6
- Views: 1975
Re: Is there something like a documentation creator?
Here is the source as it was last compiled:
http://remi.secretly.de/downloads/jaPBDoc.zip
It might need some updates (e.g. keywords since PB 4.10)
or it might just work. Maybe it is still useful but I cannot
work on it currently.
Cheers!
Remi
http://remi.secretly.de/downloads/jaPBDoc.zip
It might need some updates (e.g. keywords since PB 4.10)
or it might just work. Maybe it is still useful but I cannot
work on it currently.
Cheers!
Remi
- Tue Nov 06, 2012 10:12 pm
- Forum: Tricks 'n' Tips
- Topic: [Linux] Clutter Demo
- Replies: 16
- Views: 5709
Re: [Linux] Clutter Demo
Nice example Poshu! 

- Mon Jun 25, 2012 10:38 am
- Forum: Linux
- Topic: Underscore with buttons and other gadgets
- Replies: 9
- Views: 3715
Re: Underscore with buttons and other gadgets
Yes, gtk_button_set_label_() wants a UTF8 string, but
PB just passes an UCS-2 one instead.
Try the imports from http://remi.secretly.de/downloads/gtk2.pbi
Generated by this tool: http://www.purebasic.fr/english/viewtop ... lit=gir2pb
PB just passes an UCS-2 one instead.
Try the imports from http://remi.secretly.de/downloads/gtk2.pbi
Generated by this tool: http://www.purebasic.fr/english/viewtop ... lit=gir2pb
- Mon May 14, 2012 12:01 pm
- Forum: General Discussion
- Topic: GTK+ bindings? (or native support)
- Replies: 5
- Views: 2860
Re: GTK+ bindings? (or native support)
@klaver:
Well, I showed you where you can find everything you need.
Well, I showed you where you can find everything you need.
- Sat May 12, 2012 7:06 pm
- Forum: Off Topic
- Topic: Feedback/Opinions on the look & stucture of TuppTech.com
- Replies: 23
- Views: 4965
Re: Feedback/Opinions on the look & stucture of TuppTech.com
So here is my opinion:
Navigation
Seems to be OK, albeit you should obviously try to keep
the menus short and without sub-menus.
Layout
Well, there is no content yet, but as far as I can see, on
my laptop navigation and especially the logo take up ~30%
of vertical space. That is unnecessary ...
Navigation
Seems to be OK, albeit you should obviously try to keep
the menus short and without sub-menus.
Layout
Well, there is no content yet, but as far as I can see, on
my laptop navigation and especially the logo take up ~30%
of vertical space. That is unnecessary ...
- Thu May 10, 2012 11:01 am
- Forum: Feature Requests and Wishlists
- Topic: Allow 0 to be used with pseudotypes
- Replies: 0
- Views: 905
Allow 0 to be used with pseudotypes
Some external libraries take strings as arguments where
one is allowed to pass a 0 (null pointer) instead of an actual
string. Most of the time this means that some default value
will be used instead.
Currently there are two solutions, one is not using pseudotypes
which requires manual conversion ...
one is allowed to pass a 0 (null pointer) instead of an actual
string. Most of the time this means that some default value
will be used instead.
Currently there are two solutions, one is not using pseudotypes
which requires manual conversion ...
- Wed Feb 08, 2012 10:34 pm
- Forum: Linux
- Topic: Global shortcut
- Replies: 13
- Views: 10509
Re: Global shortcut
You can find an example in C for a global hotkey here:
http://lists.freedesktop.org/archives/x ... 51567.html
http://lists.freedesktop.org/archives/x ... 51567.html
- Mon Feb 06, 2012 4:16 pm
- Forum: Tricks 'n' Tips
- Topic: Cross Platform -- Detect StringGadget Carriage Return Key
- Replies: 40
- Views: 14409
Re: Cross Platform -- Detect StringGadget Carriage Return Ke
For real use I think you should still go with a AddKeyboardShortcut().
Frankly, I don't see a problem with this code:
...
It's a bit of a workaround but it seems to work fine. Managing
the events (MenuItemIDs, etc.) might be a bit tedious but at
least it seems to work :)
:lol: Because like all ...
Frankly, I don't see a problem with this code:
...
It's a bit of a workaround but it seems to work fine. Managing
the events (MenuItemIDs, etc.) might be a bit tedious but at
least it seems to work :)
:lol: Because like all ...
- Mon Feb 06, 2012 2:02 pm
- Forum: Tricks 'n' Tips
- Topic: Cross Platform -- Detect StringGadget Carriage Return Key
- Replies: 40
- Views: 14409
Re: Cross Platform -- Detect StringGadget Carriage Return Ke
The [Tab] key can be done the same way:
If OpenWindow(0, 0, 0, 322, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(0, 8, 8, 306, 133)
Repeat
event = WaitWindowEvent()
If event = #PB_Event_Gadget
If EventGadget() = 0
If FindString(GetGadgetText(0), #TAB ...
If OpenWindow(0, 0, 0, 322, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(0, 8, 8, 306, 133)
Repeat
event = WaitWindowEvent()
If event = #PB_Event_Gadget
If EventGadget() = 0
If FindString(GetGadgetText(0), #TAB ...