Search found 51 matches

by frederic
Sat Mar 08, 2008 1:49 pm
Forum: Linux
Topic: Timer, TimeOut
Replies: 8
Views: 3553

Thanks for this precision dhouston, changes made
by frederic
Fri Mar 07, 2008 11:42 pm
Forum: Linux
Topic: Timer, TimeOut
Replies: 8
Views: 3553

Timer, TimeOut

An example of a function called every second

; http://library.gnome.org/devel/glib/stable/glib-The-Main-Event-Loop.html#g-timeout-add

Global stoptimer = #False

Procedure MyTimeOutFunction(*pdata.l)
Debug "hello"
If stoptimer = #False
ProcedureReturn #True
Else
ProcedureReturn #False
EndIf ...
by frederic
Fri Mar 07, 2008 11:25 pm
Forum: Linux
Topic: ProgressBarGadget with text
Replies: 1
Views: 1473

ProgressBarGadget with text

Just a snippet to write text over ProgressBarGadget

If OpenWindow(0, 0, 0, 300, 50, "ProgressBarGadget example...", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)

If CreateGadgetList(WindowID(0))
ProgressBarGadget(1, 10, 10, 280, 30, 0, 100)
EndIf

percent.f = 50.00
SetGadgetState(1 ...
by frederic
Tue Mar 04, 2008 7:56 pm
Forum: Applications - Feedback and Discussion
Topic: Linux [techdemo] LiLi_M Little Linux MediaPlayer (1.2)
Replies: 18
Views: 11204

Bugs : with some mp3 the app crashs
Bugs : how i've do that ??? the tooltip flickers

Image
by frederic
Wed Feb 27, 2008 10:24 pm
Forum: Applications - Feedback and Discussion
Topic: Linux [techdemo] LiLi_M Little Linux MediaPlayer (1.2)
Replies: 18
Views: 11204

with another theme the problem is the same

with 3d effects (compiz) all is alright
by frederic
Wed Feb 27, 2008 7:19 pm
Forum: Applications - Feedback and Discussion
Topic: Linux [techdemo] LiLi_M Little Linux MediaPlayer (1.2)
Replies: 18
Views: 11204

In facts the app doesn't really grows but disappears from the main bar after a double click, some times the app goes in the right top corner and i can't move the window.

it's hard to explain in english, sorry

watch this : http://fredme.free.fr/lili/out.ogg.3


ubuntu 7.04
by frederic
Tue Feb 26, 2008 8:28 pm
Forum: Applications - Feedback and Discussion
Topic: Linux [techdemo] LiLi_M Little Linux MediaPlayer (1.2)
Replies: 18
Views: 11204

Features :
if I open a file, I would like the song plays automatically, maybe a param in .ini

drag n drop over the window

remember the last folder choosed

Bugs :
When i double click on the bitmap part of the window, the app grows and I can't any more move the window.

Exit bug : corrected
by frederic
Mon Feb 25, 2008 8:37 pm
Forum: Applications - Feedback and Discussion
Topic: Linux [techdemo] LiLi_M Little Linux MediaPlayer (1.2)
Replies: 18
Views: 11204

Hello,

Bugs :
When i close lili with the cross button in top right corner, the dialog close but not the application

Features :
add the skin filename to the ini or make "theme" files (ini + png) in one directory or one packed file
by frederic
Sun Feb 24, 2008 7:47 pm
Forum: Applications - Feedback and Discussion
Topic: Linux [techdemo] LiLi_M Little Linux MediaPlayer (1.2)
Replies: 18
Views: 11204

Nice app :)

maybe you could use a preference file to move buttons where we want
Image
Image
by frederic
Mon Feb 18, 2008 7:19 pm
Forum: Linux
Topic: PanelGadget with button
Replies: 1
Views: 1629

PanelGadget with button

yeah i've made a panel with some buttons to close

Image

maybe an userlib will follow
by frederic
Fri Jan 11, 2008 11:36 pm
Forum: Linux
Topic: Editor Gadget Word Wrap using GTK?
Replies: 3
Views: 2246

hmm there is an error, this is not #true (1) but a value from this constants :

Enumeration 0
#GTK_WRAP_NONE
#GTK_WRAP_CHAR
#GTK_WRAP_WORD
#GTK_WRAP_WORD_CHAR
EndEnumeration

gtk_text_view_set_wrap_mode_(GadgetID(#gadget_Main_Editor_TemplateMsg), #GTK_WRAP_WORD)
by frederic
Fri Jan 11, 2008 9:54 pm
Forum: Linux
Topic: Editor Gadget Word Wrap using GTK?
Replies: 3
Views: 2246

this function is deprecated, use gtk_text_view_set_wrap_mode ()
but i don't know how to use it with pb
http://library.gnome.org/devel/gtk/2.12 ... -wrap-mode
by frederic
Mon Dec 24, 2007 3:05 pm
Forum: Linux
Topic: CoolText Lib
Replies: 1
Views: 1563

CoolText Lib

My second lib

http://fredme.free.fr/ctext/capture.png

http://fredme.free.fr/ctext/cooltext.zip

example :
If OpenWindow(0, 0, 0, 220, 70, "CoolText", #PB_Window_SystemMenu|#PB_Window_ScreenCentered|#PB_Window_SizeGadget)
CreateGadgetList(WindowID(0))
CoolTextGadget(1, 10, 10, 120, 50, "test ...
by frederic
Sun Dec 23, 2007 7:30 pm
Forum: Linux
Topic: coding Userlib
Replies: 1
Views: 1571

coding Userlib

hello, i've an ask about userlib, it is possible to create or manipulate a pb gadget, but is it possible to create and add an control (like gtkvolumebutton) to the window ?

thanks