Search found 346 matches

by garretthylltun
Sun Aug 17, 2014 8:23 am
Forum: Linux
Topic: Can't install libgtk2.0-dev
Replies: 2
Views: 3058

Re: Can't install libgtk2.0-dev

Thanks a bunch, I'll give it a try. :-)
~Garrett
by garretthylltun
Sat Aug 16, 2014 4:14 am
Forum: Linux
Topic: Can't install libgtk2.0-dev
Replies: 2
Views: 3058

Can't install libgtk2.0-dev

Using Linux Mint 17 based on Ubuntu 14.04

libgtk2.0-dev is the only thing that won't install, here's the notice:

sudo apt-get install libgtk2.0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that ...
by garretthylltun
Fri Aug 08, 2014 6:40 am
Forum: Linux
Topic: How to use the webgadget callback code?
Replies: 1
Views: 1935

How to use the webgadget callback code?

I found the code to use the navigational callback( http://www.purebasic.fr/english/viewtopic.php?f=15&t=54049&hilit=callback ) for the webgadget, but I'm not very versed in PB and am not sure how I can use this. Is this what I can use to let me know when a link is clicked? Get any page info using ...
by garretthylltun
Tue Aug 05, 2014 8:20 am
Forum: Linux
Topic: Send keystrokes to webgadget?
Replies: 0
Views: 1815

Send keystrokes to webgadget?

Did a little search and see that at least for Windows and OSX that there is some code to send keystrokes to either gadgets or other windows, but didn't find anything for Linux.

Any chances there's a simple and elegant way to at least send keystrokes to the webgadget in Linux?

Thanks in advance ...
by garretthylltun
Tue Aug 05, 2014 7:01 am
Forum: Coding Questions
Topic: [5.30 (x86)] - ReceiveHTTPFile locks interface [RESOLVED]
Replies: 4
Views: 1751

Re: [5.30 (x86)] - ReceiveHTTPFile locks interface

Ah, Ok.

Again, many thanks, I really thought it was a bug.

~Garrett
by garretthylltun
Tue Aug 05, 2014 6:19 am
Forum: Coding Questions
Topic: [5.30 (x86)] - ReceiveHTTPFile locks interface [RESOLVED]
Replies: 4
Views: 1751

Re: [5.30 (x86)] - ReceiveHTTPFile locks interface

*/shakes head

Really.... You know, if there had been mention of that in the docs I wouldn't have posted about this and now I feel like a noob.. Well, I am a noob, but you get my drift.

BTW, is this the intended behaviour for ReceiveHTTPFile?

And thank you so very much for the code,
~Garrett
by garretthylltun
Mon Aug 04, 2014 11:51 pm
Forum: Coding Questions
Topic: [5.30 (x86)] - ReceiveHTTPFile locks interface [RESOLVED]
Replies: 4
Views: 1751

[5.30 (x86)] - ReceiveHTTPFile locks interface [RESOLVED]

System: PureBasic 5.30 (Linux - x86)
Distro: elementary OS: 0.2.1 "Luna"(32-bit)
Based on: Ubuntu 12.04("Precise")
Intel Core 2 CPU 6300 @ 1.86ghz x 2
Memory: 2gb

Library/Command/Function involved: Library: HTTP/Gadget
Command: ReceiveHTTPFile()

Symptom: When downloading webpages using ...
by garretthylltun
Sun Aug 03, 2014 10:08 pm
Forum: Linux
Topic: Set ToolBar height?
Replies: 8
Views: 4301

Re: Set ToolBar height?

I did find from another example that Shardik provided in my Combobox question thread that if I apply a ButtonGadget or an ImageButton that I can set the height of the button to say 48x48 and the toolbar does take on a new height that appropriately contains and that the button retains it's size ...
by garretthylltun
Sun Aug 03, 2014 5:20 pm
Forum: Linux
Topic: Set ToolBar height?
Replies: 8
Views: 4301

Re: Set ToolBar height?

The button frames do stretch on Ubuntu 12.04(elementary OS), but when I clicked one of the buttons the height of the toolbar snaps back to original height. Placing *widget= ToolBarID(0)
*widget\requisition\height= 60 in the loop did not resize the height back to 60 after the click.

I'm really sorry ...
by garretthylltun
Sat Aug 02, 2014 6:30 pm
Forum: Linux
Topic: Set ToolBar height?
Replies: 8
Views: 4301

Set ToolBar height?

Now that I'm aware of the GTK documentation, I was trying to see if it was possible to change the height of the toolbar. I see that on the Windows side of things they have some API calls to do this, but I was unable to find anything so far in the GTK docs.

Does anyone know if it's possible with GTK ...
by garretthylltun
Sat Aug 02, 2014 4:45 pm
Forum: Linux
Topic: Adding Combobox to Toolbar? [SOLVED]
Replies: 5
Views: 3291

Re: Adding Combobox to Toolbar?

Yup, just found it, but the GTK3 docs. Need to use GTK2 then I see.

Thanks a bunch,
~Garrett
by garretthylltun
Sat Aug 02, 2014 4:17 pm
Forum: Linux
Topic: Adding Combobox to Toolbar? [SOLVED]
Replies: 5
Views: 3291

Re: Adding Combobox to Toolbar?

Thank you very much.

BTW, where would I find documentations regarding "gtk_"??

~Garrett
by garretthylltun
Sat Aug 02, 2014 7:47 am
Forum: Linux
Topic: ReceiveHTTPFile() blocks updating gadgets
Replies: 0
Views: 1724

ReceiveHTTPFile() blocks updating gadgets

I did a few searches but didn't see anything on this after several pages.

I'm downloading 31 pages via ReceiveHTTPFile() and between pages I wanted to update a string gadget with what page is about to be downloaded, but the TextGadget is not being updated.

Am I missing something?

Thanks in ...
by garretthylltun
Fri Aug 01, 2014 5:33 pm
Forum: Linux
Topic: Adding Combobox to Toolbar? [SOLVED]
Replies: 5
Views: 3291

Adding Combobox to Toolbar? [SOLVED]

I saw that in the past there was a userlib for a toolbar that allowed one to add various gadgets beyond the standard toolbar included in PB. Unfortunately that userlib no longer works, likely due to outdated code.

Does anyone know how to add a combobox or any other gadgets to the default toolbar ...
by garretthylltun
Wed Jul 30, 2014 10:38 pm
Forum: Coding Questions
Topic: Clipboard Bug?
Replies: 14
Views: 4368

Re: Clipboard Bug?

@Danilo

Testing with the timers almost alleviated the problem. The program did not suffer the little lags, but after two hours of running and some casual use on my computer, it eventually was hit with two stalls a few minutes apart, otherwise, this was far better than any of my previous results.

I ...