Search found 1584 matches
- Tuesday 30th April 2024 7:31pm
- Forum: Beginners
- Topic: Get X,Y coordinates from inside the DrawingArea
- Replies: 4
- Views: 208
Re: Get X,Y coordinates from inside the DrawingArea
Nevermind. I figured it out. No need to use DrawingArea object. Just need to get Mouse.X, Mouse.Y Public Sub DrawingArea1_MouseDown() Print Mouse.X & "," & Mouse.Y End You got it. for any control Mouse event like MouseDown / MouseMove, Mouse.X and Mouse.Y are relative to the contr...
- Tuesday 30th April 2024 5:09pm
- Forum: The Gambas IDE
- Topic: Wayland and gambas
- Replies: 4
- Views: 246
Re: Wayland and gambas
Does this mean you can't control items within your program, or you can't control where the program is displayed on the screen, or both? It applies to all "top-level" forms i think. from what i can tell it's all about the compositor, i don't fully understand but wayland seems super paranoi...
- Tuesday 30th April 2024 1:02am
- Forum: General
- Topic: Live video feed?
- Replies: 6
- Views: 884
Re: Live video feed?
gb.media is basically a gstreamer interface so can do what gst can do.
I not the one who can answer though i have little experience with MediaPlayer and none with live feeds.
Others may be able to help though.
I not the one who can answer though i have little experience with MediaPlayer and none with live feeds.
Others may be able to help though.
- Monday 29th April 2024 7:02pm
- Forum: The Gambas IDE
- Topic: Wayland and gambas
- Replies: 4
- Views: 246
Wayland and gambas
I recently asked some questions on the wayland development mailing list about gambas and positioning windows amongst the other issues. Here is a copy of the reply... What it basically says... We will NEVER be able to position our windows using Form.X or From.Y or From.Move or Settings.Read() etc in ...
- Monday 29th April 2024 9:00am
- Forum: Project showcase
- Topic: Germinal - a terminal with some potential
- Replies: 8
- Views: 3194
Re: Germinal - a terminal with some potential
Finally got custom commands working. It's a bit complex. From the readme... Making custom commands... You can create commands to manipulate/edit the current command line. Commands are made of sequences of either scripts or key commands. Select the custom command editor from the menu to open the edit...
- Sunday 28th April 2024 10:09am
- Forum: General
- Topic: Converting UTC time
- Replies: 9
- Views: 660
Re: Converting UTC time
Thanks for all replies! I just wanted to get the timezone offset so that I could adjust the hour parameter in the Date-function to reflect my local timezone. Here is the code snippet that I finally ended up with: Dim tDate As String = Format$(Now, "yyyy-mm-ddThh:nn:sstt") Dim sDate As Str...
Re: icon move
Maybe this will help get you started.... It has a DrawingArea It selects a random desktop background image to use as the background then it loads the gambas bug pic as the sprite. When you click the image it starts the timer that each time it triggers it moves the bugs X position to the right and th...
- Saturday 27th April 2024 11:32pm
- Forum: The Gambas IDE
- Topic: Could we PLEASE get implemented the ability to store project on a mounted location?
- Replies: 9
- Views: 1100
Re: Could we PLEASE get implemented the ability to store project on a mounted location?
You know we are not the gambas development team right?
We don't make gambas and can't do anything about what you are asking.
If you want gambas to do something different like show Network folders you should ask the main developer.
We don't make gambas and can't do anything about what you are asking.
If you want gambas to do something different like show Network folders you should ask the main developer.
Re: icon move
Well technically a movie is not so much "moving images" as it is a series of still images shown in rapid succession. So no. I would not consider making/storing a ton of pictures with a ball in a different place to show as a movie. If i wanted to animate a ball moving on a background i woul...
- Friday 26th April 2024 12:31pm
- Forum: General
- Topic: Converting UTC time
- Replies: 9
- Views: 660
Re: Converting UTC time
So something like this... to convert your "YYYY-MM-DD"T"HH:MM:SS"Z format.. gambas expects utc dates to be american format and time separated by a space. so to make it gambas compliant Date object we need to remove the T and Z and jumble the date values around to be like "mm...