Search found 1510 matches
- Monday 27th February 2023 2:15am
- Forum: Beginners
- Topic: mouseclick with keypress
- Replies: 6
- Views: 844
Re: mouseclick with keypress
Mouse.class has Control / Shift / Alt properties that state keyboard modifiers... The properties are not valid in a Click() event but they are in a MouseUp and RowClick() event Something like this will do the job.... Public Sub TableView1_RowClick(Row As Integer) If Mouse.Control Then Print "Cl...
- Friday 24th February 2023 10:43pm
- Forum: Component
- Topic: MediaView with DBus mpris control
- Replies: 4
- Views: 7207
Re: MediaView with DBus mpris control
Big update. Changes... Introduced an MPRIS_Metadata.class to handle all the metadata fields This is heading out of WIP now and heading to Beta. the server class is fully functional and seems to work well. now the test app has a "Remote control" button that opens up a window using the MPRIS...
- Wednesday 22nd February 2023 6:21pm
- Forum: Component
- Topic: DBus logout/shutdown Inhibitor
- Replies: 2
- Views: 3132
Re: DBus Inhibitor
hmm yeah but that's deep gtk code (like internal gb.gtk3 C functions) i've asked Benoit if gb.gui could possibly implement Inhibit, (i think it would be awesome, especially if incorporated into the ide) if there is a qt alternative then it probably won't take much code to add the inhibit methods to ...
- Tuesday 21st February 2023 7:32pm
- Forum: Component
- Topic: DBus logout/shutdown Inhibitor
- Replies: 2
- Views: 3132
DBus logout/shutdown Inhibitor
I've been trying to make Inhibit work on many systems. What is Inhibit() ? you may ask. Inhibit() is the terminology used to describe what your program does if the system wants to logout or shutdown or run a screensaver, etc. For example most media players will use Inhibit() to stop your screensaver...
- Sunday 19th February 2023 3:49pm
- Forum: Beginners
- Topic: Enumerations
- Replies: 4
- Views: 4639
Re: Enumerations
I can't get Bruce's code to work. This is a little simpler if it helps. Well it wasn't really code it was an example. you'd have to make a MyObject.class and give it Data1/Data2 properties :) But your code is as good as any. Here's some other ways to enumerate. Public Sub Form_Open() Dim MyArray As...
- Sunday 19th February 2023 2:48pm
- Forum: Beginners
- Topic: Enumerations
- Replies: 4
- Views: 4639
Re: Enumerations
Hi, Is there a construct in Gambas like Enumerations (as known as in Java or C++)? Or should I define a class with constants to emulate that? Thanks Witchi absolutely Anything can be made into an array and enumerated Just like this for an example object called MyObject Dim MyObjectArray As New MyOb...
- Saturday 18th February 2023 3:44pm
- Forum: General
- Topic: Unable to install from software farm - Unknown Arc format?
- Replies: 5
- Views: 4673
Re: Unable to install from software farm - Unknown Arc format?
Apparently you have to wait for the next stable release. What happened was a server update that changed the case of some headers (like changed title to Title) or something like that. All Benoit could do was apply a fix in gambas as the current and previous code did a direct If sHeader = "This t...
- Saturday 18th February 2023 12:23pm
- Forum: General
- Topic: Unable to install from software farm - Unknown Arc format?
- Replies: 5
- Views: 4673
Re: Unable to install from software farm - Unknown Arc format?
I am using dev branch and i downloaded and installed the program with no errors.
- Friday 17th February 2023 10:24pm
- Forum: General
- Topic: Unable to install from software farm - Unknown Arc format?
- Replies: 5
- Views: 4673
Re: Unable to install from software farm - Unknown Arc format?
What is the extension of the downloaded archive?
it should support ".tar.gz" and ".tar.bz2"
it should support ".tar.gz" and ".tar.bz2"
- Friday 17th February 2023 4:46pm
- Forum: Beginners
- Topic: circle SDL
- Replies: 4
- Views: 3099
Re: circle SDL
Annoyingly you can add GB.opengl component, then image has many more options but none of them work.