Thank you.
I wonder as libgtk-3-dev was part of the install prerequisites.
Search found 66 matches
- Mon Nov 09, 2015 6:58 pm
- Forum: Linux
- Topic: Combox gtk_entry_set_text: assertion 'text != NULL'
- Replies: 2
- Views: 2162
- Mon Nov 09, 2015 5:19 pm
- Forum: Linux
- Topic: Combox gtk_entry_set_text: assertion 'text != NULL'
- Replies: 2
- Views: 2162
Combox gtk_entry_set_text: assertion 'text != NULL'
Hi,
I have started to port some programs from Windows to Linux.
I got stuck right away with an editable combobox.
The code below works in Windows.
If an item in the combobox is selected, it gets displayed.
On Linux I get [WARNING] Gtk (CRITICAL): gtk_entry_set_text: assertion 'text != NULL' failed ...
I have started to port some programs from Windows to Linux.
I got stuck right away with an editable combobox.
The code below works in Windows.
If an item in the combobox is selected, it gets displayed.
On Linux I get [WARNING] Gtk (CRITICAL): gtk_entry_set_text: assertion 'text != NULL' failed ...
- Mon Oct 31, 2011 9:17 am
- Forum: Coding Questions
- Topic: send systray icon notification in W7
- Replies: 22
- Views: 5581
Re: send systray icon notification in W7
Why not send some notification text to your icon, Windows 7 then show the icon and we hide again once the notification has timed out.
You're a funny guy, because you just gave the answer to my initial question and seemingly didn't realize it.
THANKS A LOT @em_uk!!!
That is the piece of code I ...
You're a funny guy, because you just gave the answer to my initial question and seemingly didn't realize it.
THANKS A LOT @em_uk!!!
That is the piece of code I ...
- Tue Oct 25, 2011 10:12 am
- Forum: Coding Questions
- Topic: send systray icon notification in W7
- Replies: 22
- Views: 5581
Re: send systray icon notification in W7
My original question was a different one.
- I create a taskbar icon under W7
- it appears and then disappears after some time (default behavior)
- but then my program has something to "say" and I want the icon to reappear
- other applications are able to do that
- so how is this done in PB?
- I create a taskbar icon under W7
- it appears and then disappears after some time (default behavior)
- but then my program has something to "say" and I want the icon to reappear
- other applications are able to do that
- so how is this done in PB?
- Wed Jul 06, 2011 8:32 pm
- Forum: Coding Questions
- Topic: UTF-8 file conversion
- Replies: 9
- Views: 2272
Re: UTF-8 file conversion
I think the file is broken. You have to decode them as UTF-8 twice. Except it's a big problem to know which entries are broken and which are not.
Thanks.
That is what my code already does - except yours is more pretty. :)
To know what is broken and what not I read as UTF-8 from file and then ...
Thanks.
That is what my code already does - except yours is more pretty. :)
To know what is broken and what not I read as UTF-8 from file and then ...
- Wed Jul 06, 2011 1:23 pm
- Forum: Coding Questions
- Topic: UTF-8 file conversion
- Replies: 9
- Views: 2272
Re: UTF-8 file conversion
Thanks guys. No it is not UTF-16.
Here is the Hex code of the lines that do not work when read as UTF-8
Brasil Indúst
42 72 61 73 69 6C 20 49 6E 64 C3 83 C2 BA 73 74
ria e Comérci
72 69 61 20 65 20 43 6F 6D C3 83 C2 A9 72 63 69
o de Autopeà as
6F 20 64 65 20 41 75 74 6F 70 65 C3 83 20 ...
Here is the Hex code of the lines that do not work when read as UTF-8
Brasil Indúst
42 72 61 73 69 6C 20 49 6E 64 C3 83 C2 BA 73 74
ria e Comérci
72 69 61 20 65 20 43 6F 6D C3 83 C2 A9 72 63 69
o de Autopeà as
6F 20 64 65 20 41 75 74 6F 70 65 C3 83 20 ...
- Wed Jul 06, 2011 11:57 am
- Forum: Coding Questions
- Topic: UTF-8 file conversion
- Replies: 9
- Views: 2272
Re: UTF-8 file conversion
Search the web for Detenc.exe
Thanks a lot.
So UTF-8 still looks the best, but the same lines seem wrong like when I convert with PB.
If Detenc is corrcet, then my source file must be somehow broken.
It seems I need to detect the broken sequences and somehow restore them by try and error until I ...
Thanks a lot.
So UTF-8 still looks the best, but the same lines seem wrong like when I convert with PB.
If Detenc is corrcet, then my source file must be somehow broken.
It seems I need to detect the broken sequences and somehow restore them by try and error until I ...
- Wed Jul 06, 2011 10:14 am
- Forum: Coding Questions
- Topic: UTF-8 file conversion
- Replies: 9
- Views: 2272
Re: UTF-8 file conversion
... Why don't you post your file (upload it)?
Because it contains data that I am not allowed to share in public :(
I assumed UTF-8 because as far as I know UTF-8 uses ASCII characters where possible and only control codes when needed.
And opening it as UTF-8 did work for most characters. For ...
Because it contains data that I am not allowed to share in public :(
I assumed UTF-8 because as far as I know UTF-8 uses ASCII characters where possible and only control codes when needed.
And opening it as UTF-8 did work for most characters. For ...
- Wed Jul 06, 2011 8:41 am
- Forum: Coding Questions
- Topic: UTF-8 file conversion
- Replies: 9
- Views: 2272
UTF-8 file conversion
Hi,
I have a text file to read that is probably UTF-8 encoded and contains words in many different languages.
So I read it with ReadString(1,#PB_UTF8) and most of the characters get converted correctly.
But some characters appear wrong.
One sample in portuguese:
- opened without conversion in ascii ...
I have a text file to read that is probably UTF-8 encoded and contains words in many different languages.
So I read it with ReadString(1,#PB_UTF8) and most of the characters get converted correctly.
But some characters appear wrong.
One sample in portuguese:
- opened without conversion in ascii ...
- Fri Apr 01, 2011 3:16 pm
- Forum: Off Topic
- Topic: Notepad++ language template for PureBasic?
- Replies: 58
- Views: 42799
Re: Notepad++ language template for PureBasic?
Many thanks for the good work!!!
I almost started to create that myself when I thought I might google first...
I almost started to create that myself when I thought I might google first...
- Wed Nov 24, 2010 3:44 pm
- Forum: Coding Questions
- Topic: send systray icon notification in W7
- Replies: 22
- Views: 5581
Re: send systray icon notification in W7
@RASHAD:
Thanks a lot.
I played with shell_notifyicon_ and got to the point where I had the same behavior like with the build in commands...
I was not able to unhide the icon.
Sorry, I need to focus on the real purpose of the program again, will look into the icon stuff later.
Thanks a lot.
I played with shell_notifyicon_ and got to the point where I had the same behavior like with the build in commands...
I was not able to unhide the icon.
Sorry, I need to focus on the real purpose of the program again, will look into the icon stuff later.
- Wed Nov 24, 2010 2:40 pm
- Forum: Coding Questions
- Topic: send systray icon notification in W7
- Replies: 22
- Views: 5581
Re: send systray icon notification in W7
Thanks.
It looks like there is no simple way to have a program that was designed for XP force the appearance of an icon that has been hidden.
I used the PB command to set the tray icon.
If I understand right, the only way to make a hidden icon visible is to send a too ballon tip with NIF_INFO.
The ...
It looks like there is no simple way to have a program that was designed for XP force the appearance of an icon that has been hidden.
I used the PB command to set the tray icon.
If I understand right, the only way to make a hidden icon visible is to send a too ballon tip with NIF_INFO.
The ...
- Tue Nov 23, 2010 8:14 pm
- Forum: Coding Questions
- Topic: send systray icon notification in W7
- Replies: 22
- Views: 5581
Re: send systray icon notification in W7
Thanks everybody.
Now we get to my problem :)
I want to send "something" to an icon so it gets out of the overflow area and gets visible again.
The setting is "show only notification".
And some Windows programs can do that.
Their icon remains "unseen" in the overflow area and only shows up when ...
Now we get to my problem :)
I want to send "something" to an icon so it gets out of the overflow area and gets visible again.
The setting is "show only notification".
And some Windows programs can do that.
Their icon remains "unseen" in the overflow area and only shows up when ...
- Tue Nov 23, 2010 9:21 am
- Forum: Coding Questions
- Topic: send systray icon notification in W7
- Replies: 22
- Views: 5581
send systray icon notification in W7
Hello,
W7 hides away inactive icons in the notification area. I know that I can change that setting, but actually I like it.
I would like to know how I can "send" a notification to a systray icon of a PB program so that it appears again when hidden.
I tried to use ChangeSysTrayIcon() but that does ...
W7 hides away inactive icons in the notification area. I know that I can change that setting, but actually I like it.
I would like to know how I can "send" a notification to a systray icon of a PB program so that it appears again when hidden.
I tried to use ChangeSysTrayIcon() but that does ...
- Tue Nov 16, 2010 7:51 pm
- Forum: Coding Questions
- Topic: call asci programs from unicode program
- Replies: 5
- Views: 1292
Re: call asci programs from unicode program
Thanks c4s!
So I hit a real problem here...
I'll look at the workarounds and see what I can make of it.
So I hit a real problem here...
I'll look at the workarounds and see what I can make of it.