... has no alpha channel. If you know the transparency is available on Linux (it is not explicit in the doc), so it stays a function published and ... have a function near "SetWindowAttribute_()" or anything like that.
Anyway, you should also have to get initially the handle of the button to modify.
Search found 176 matches: Linux button image
Searched query: +Linux +button +image
- Mon Aug 18, 2025 10:11 am
- Forum: Coding Questions
- Topic: Background of text and image gadgets not transparent
- Replies: 7
- Views: 364
- Wed Mar 12, 2025 5:40 am
- Forum: Applications - Feedback and Discussion
- Topic: Sudoku Master, make/solve sudoku puzzles
- Replies: 12
- Views: 3080
Sudoku Master, make/solve sudoku puzzles
Here is an image of Sudoku Master with a self generated puzzle.
https://1drv.ms/i/c/12ca5f14b603afc5 ... 11.
Edit: Fixed problem when using code with Linux OS
; Sudoku Master by BasicallyPure 03/15 ... window, (user interface)
Declare DISABLE_BUTTONS(state) ;disable or enable all buttons
Declare ...
https://1drv.ms/i/c/12ca5f14b603afc5 ... 11.
Edit: Fixed problem when using code with Linux OS
; Sudoku Master by BasicallyPure 03/15 ... window, (user interface)
Declare DISABLE_BUTTONS(state) ;disable or enable all buttons
Declare ...
- Mon Dec 16, 2024 3:42 pm
- Forum: Bugs - IDE
- Topic: icon and text overlapping when accessibility setting is activated
- Replies: 4
- Views: 3271
Re: icon and text overlapping when accessibility setting is activated
I've tested it by replacing the ButtonImageGadget with a ButtonGadget in the three files below, and it seems to work pretty much as it should, except that I have to force the return result of the ... 28
CompilerElse
Space = 6 ; looks better on Linux/OSX with some more space
CompilerEndIf
The ...
CompilerElse
Space = 6 ; looks better on Linux/OSX with some more space
CompilerEndIf
The ...
- Tue Nov 26, 2024 5:55 pm
- Forum: Tricks 'n' Tips
- Topic: PureBasic ImagePickerGadget() - A Cross-Platform Solution
- Replies: 29
- Views: 3938
PureBasic ImagePickerGadget() - A Cross-Platform Solution
... s a cross-platform, lightweight, module-based image picker gadget , that will display images from a ... by:
the mouse wheel
dragging the scroll bar button
clicking on any part of the scroll bar to jump ... 2. Windows 11 (Intel & ARM)
; 3. Ubuntu Linux 20.04, 24.10 (Intel & ARM)
; 4. macOS High ...
the mouse wheel
dragging the scroll bar button
clicking on any part of the scroll bar to jump ... 2. Windows 11 (Intel & ARM)
; 3. Ubuntu Linux 20.04, 24.10 (Intel & ARM)
; 4. macOS High ...
- Fri Nov 01, 2024 1:54 pm
- Forum: Applications - Feedback and Discussion
- Topic: [Library] T720 - A 256 Color Retro Terminal [Linux & Windows]
- Replies: 14
- Views: 10207
[Library] T720 - A 256 Color Retro Terminal [Linux & Windows]
... new function tKeyInput()
- fixed a bug in the image loading routines (Windows)
Download (t720 ... Author: Mijikai
; Version: Alpha 10
; Platform: Linux / Windows
; Compiler: PureBasic 6.20 LTS (x64 ... Integer)
tMouseLeft.i();<- is the left mouse button pressed
tMouseRight.i() ;<- is the right mouse ...
- fixed a bug in the image loading routines (Windows)
Download (t720 ... Author: Mijikai
; Version: Alpha 10
; Platform: Linux / Windows
; Compiler: PureBasic 6.20 LTS (x64 ... Integer)
tMouseLeft.i();<- is the left mouse button pressed
tMouseRight.i() ;<- is the right mouse ...
- Tue Oct 01, 2024 11:39 am
- Forum: Tricks 'n' Tips
- Topic: SendMail_Include.pbi (windows / linux / macos)
- Replies: 51
- Views: 44746
Re: SendMail_Include.pbi (windows / linux / macos)
... Modern email programs then display an extra button that the user can use to unsubscribe ... for private Functions
; + compatibility to linux
; + option to set the port in SendMail ... audio/x-wav"
Case "gif" : lRetVal = "image/gif"
Case "jpg", "jpeg", "jpe" : lRetVal ...
; + compatibility to linux
; + option to set the port in SendMail ... audio/x-wav"
Case "gif" : lRetVal = "image/gif"
Case "jpg", "jpeg", "jpe" : lRetVal ...
- Sat Aug 24, 2024 7:58 pm
- Forum: Tricks 'n' Tips
- Topic: Resolution-Independent Window
- Replies: 4
- Views: 1390
Resolution-Independent Window
... by any applied scaling or zooming. However, as Linux does not support the #PB_Window_Maximize ... sample GUI ######
image = LoadImage(#PB_Any, #PB_Compiler_Home ... y(480), "Responsive Desktop Example", wFlags)
ButtonGadget(0, x(80), y(30), x(120), y(40), "Small ...
image = LoadImage(#PB_Any, #PB_Compiler_Home ... y(480), "Responsive Desktop Example", wFlags)
ButtonGadget(0, x(80), y(30), x(120), y(40), "Small ...
- Wed Jul 31, 2024 7:28 pm
- Forum: Coding Questions
- Topic: canvas transparency and/or image mouse movements
- Replies: 11
- Views: 1918
Re: canvas transparency and/or image mouse movements
I had to finish this so i added Linux support and the key and button modifiers to the event.
In Mac and Linux the mouse is captured by default when draging the image, in windows doesn't. I could standarized but i leave it this way.
In Mac and Linux the mouse is captured by default when draging the image, in windows doesn't. I could standarized but i leave it this way.
- Thu Jul 25, 2024 11:09 am
- Forum: Bugs - Windows
- Topic: Bunch of highly awaited gamedev functionalities
- Replies: 2
- Views: 2206
Bunch of highly awaited gamedev functionalities
... It is the reason why I cannot port the game on Linux or Mac since the Peek is elsewhere.
5 - [Bug ... of replacing every pixel.
7 - Option to load images and sprites in memory in 8-16 bits
Loading ... to switch controllers, get the type (since button placements varies...) and detect extra buttons ...
5 - [Bug ... of replacing every pixel.
7 - Option to load images and sprites in memory in 8-16 bits
Loading ... to switch controllers, get the type (since button placements varies...) and detect extra buttons ...
- Sun Jun 02, 2024 11:32 am
- Forum: Linux
- Topic: ScrollAreaGadget has strange artifacts in Linux
- Replies: 3
- Views: 2249
Re: ScrollAreaGadget has strange artifacts in Linux
You can remove background-image from scrolledwindow
;-TOP by mk-soft, v1.02.0, create 21.05.2022, update 06.12.2023, update 02.06.2024
CompilerIf #PB_Compiler_OS = #PB_OS_Linux
;- Constants
#GTK ... CSSDefault.s, Screen
CSSDefault = "button, entry {min-height: 20px;} "
CSSDefault + "tab ...
;-TOP by mk-soft, v1.02.0, create 21.05.2022, update 06.12.2023, update 02.06.2024
CompilerIf #PB_Compiler_OS = #PB_OS_Linux
;- Constants
#GTK ... CSSDefault.s, Screen
CSSDefault = "button, entry {min-height: 20px;} "
CSSDefault + "tab ...
- Sun Jun 02, 2024 9:22 am
- Forum: Linux
- Topic: ScrollAreaGadget has strange artifacts in Linux
- Replies: 3
- Views: 2249
ScrollAreaGadget has strange artifacts in Linux
See this image:
https://i.imgur.com/xPhuiCZ.png
Procedure BindScrollDatas()
SetWindowTitle(0, "ScrollAreaGadget " + "(" + GetGadgetAttribute(0, #PB ... ScreenCentered)
ScrollAreaGadget(0, 10, 10, 390,220, 575, 555, 30)
ButtonGadget (1, 10, 10, 230, 30,"Button 1")
ButtonGadget (2, 50, 50, 230, 30 ...
https://i.imgur.com/xPhuiCZ.png
Procedure BindScrollDatas()
SetWindowTitle(0, "ScrollAreaGadget " + "(" + GetGadgetAttribute(0, #PB ... ScreenCentered)
ScrollAreaGadget(0, 10, 10, 390,220, 575, 555, 30)
ButtonGadget (1, 10, 10, 230, 30,"Button 1")
ButtonGadget (2, 50, 50, 230, 30 ...
- Fri Jan 12, 2024 10:37 pm
- Forum: Tricks 'n' Tips
- Topic: WebUI wrapper
- Replies: 43
- Views: 11868
Re: WebUI wrapper
... define WEBUI_MAX_PATH MAX_PATH
#endif
// -- Linux ---------------------------
#ifdef __linux ... svg>`
* @param icon_type The icon type: `image/svg+xml`
*
* @example webui_set_icon(myWindow ... webui_new_window()
webui_bind(window, "button_1", @webui_event_proc())
webui_show(window ...
#endif
// -- Linux ---------------------------
#ifdef __linux ... svg>`
* @param icon_type The icon type: `image/svg+xml`
*
* @example webui_set_icon(myWindow ... webui_new_window()
webui_bind(window, "button_1", @webui_event_proc())
webui_show(window ...
- Fri Dec 22, 2023 6:14 pm
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 344
- Views: 109890
PureBasic 6.10 LTS is out !
... explorer
Windows: [Done] Macro and constant
Linux: [Done] libappindicator3-dev not compatible ... path bug on WinXP
Windows: [Done] PB6.10 B1: Image size parameters of DrawVectorImage() are ... Linux: [Done] SetGadgetAttribute-Canvas, Button_Image_32Bit_Crash 573 Mint
Linux: [Done] PB 4 ...
Windows: [Done] Macro and constant
Linux: [Done] libappindicator3-dev not compatible ... path bug on WinXP
Windows: [Done] PB6.10 B1: Image size parameters of DrawVectorImage() are ... Linux: [Done] SetGadgetAttribute-Canvas, Button_Image_32Bit_Crash 573 Mint
Linux: [Done] PB 4 ...
- Thu Nov 16, 2023 5:47 pm
- Forum: Tricks 'n' Tips
- Topic: TabBarGadget - Tabs like in a browser
- Replies: 191
- Views: 121827
Re: TabBarGadget - Tabs like in a browser
... Update: 17 11 2023 Fixed bugs on the newtab button]
1/3 ... Ascii, Unicode
;| Operating System : Windows, Linux, MacOS
;| Processor : x86, x64 ... HighlightSelectedTab = 1<<14
#TabBarGadget_ImageSize = 1<<23
#TabBarGadget_TabTextAlignment = 1 ...
1/3 ... Ascii, Unicode
;| Operating System : Windows, Linux, MacOS
;| Processor : x86, x64 ... HighlightSelectedTab = 1<<14
#TabBarGadget_ImageSize = 1<<23
#TabBarGadget_TabTextAlignment = 1 ...
- Tue May 09, 2023 2:36 pm
- Forum: Tricks 'n' Tips
- Topic: Modern Menu 1st try
- Replies: 9
- Views: 1440
Modern Menu 1st try
... Ascii, Unicode
;| Operating System : Windows, Linux, MacOS
;| Processor : x86, x64 ... TabBarGadget_None = 0<<0
#TabBarGadget_CloseButton = 1<<0
#TabBarGadget_NewTab = 1<<1 ... ReverseOrdering = 1<<13
#TabBarGadget_ImageSize = 1<<23
#TabBarGadget_TabTextAlignment = 1 ...
;| Operating System : Windows, Linux, MacOS
;| Processor : x86, x64 ... TabBarGadget_None = 0<<0
#TabBarGadget_CloseButton = 1<<0
#TabBarGadget_NewTab = 1<<1 ... ReverseOrdering = 1<<13
#TabBarGadget_ImageSize = 1<<23
#TabBarGadget_TabTextAlignment = 1 ...