1. RE: IRV - GTK questions

Jonas Temple wrote:
> 
> 
> Irv,
> 
> Just now getting serious about using your GTK package.  I'm starting on 
> porting my FROG database utility to Linux using your GTK.  I've got a 
> few questions, though (probably more to come!):
> 
> 1. Where would I find documentation on the GTK other than what you have 
> on your web site?

There's always gtk.org - but beware, the docs are huge, complex and 
often less than helpful.
Ask here first :)

> 2. What is the functional equivalent to a Windows editable drop down 
> list in the GTK?

The combo control is editable, unless you turn it off.
Is that what you need?

> 3. Are you aware of any grid libraries available for GTK (like Phil 
> Russel's EuGrid for Windows)?

I'm not certain, since I haven't seen EuGrid. But if it is a 
multi-column list which can contain other controls, such as buttons, 
checkboxes, pictures, etc, then that capability is built into the 
GTK 2 list and tree views.

Because the list and tree view controls are based on a 
MVC scheme, using them is not as easy as I would like. Give me 
an example of what you'd like to do, and I'll try to build a demo.

Regards,
Irv

> Thanks for a great package!
> 
> Jonas
>

new topic     » topic index » view message » categorize

2. RE: IRV - GTK questions

I Mullins wrote:
> 
> 
> Jonas Temple wrote:
> > 
> > 
> > 1. Where would I find documentation on the GTK other than what you have 
> > on your web site?
> 
> There's always gtk.org - but beware, the docs are huge, complex and 
> often less than helpful.
> Ask here first :)

Okay, you asked for it!!!! :)

> 
> > 2. What is the functional equivalent to a Windows editable drop down 
> > list in the GTK?
> 
> The combo control is editable, unless you turn it off.
> Is that what you need?

Yes, but somehow I keep missing that control.  I'll dig around some more 
and see if I can find it.

> 
> > 3. Are you aware of any grid libraries available for GTK (like Phil 
> > Russel's EuGrid for Windows)?
> 
> I'm not certain, since I haven't seen EuGrid. But if it is a 
> multi-column list which can contain other controls, such as buttons, 
> checkboxes, pictures, etc, then that capability is built into the 
> GTK 2 list and tree views.
> 

Actually, what I'm looking for is a grid control similar to a grid you 
woud find in Excel or other spreadsheet packages.  After I sent my 
message last night I went surfin' and found GtkSheet, which appears to 
be what I want.  I will, however, have to come up with a Euphoria 
include file for the control.  I can't remember the web site off the top 
of my head but I just googled GtkSheet and the link was in the first 
page of results.

I also caught the message that you had updated your GTK package but were 
working on the documentation.  I'll be anxious to see what you've added.

Jonas

new topic     » goto parent     » topic index » view message » categorize

3. RE: IRV - GTK questions

Jonas Temple wrote:

> Actually, what I'm looking for is a grid control similar to a grid you 
> woud find in Excel or other spreadsheet packages.  After I sent my 
> message last night I went surfin' and found GtkSheet, which appears to 
> be what I want.  I will, however, have to come up with a Euphoria 
> include file for the control.  I can't remember the web site off the top 
> 
> of my head but I just googled GtkSheet and the link was in the first 
> page of results.

Well, there are a few problems with this. First of all, it's not 
a library, so you'd have to create your own using the C source. 
Secondly, it's not likely to be maintained, since it's for GTK 1x, 
and GTK 2x has the same functionality built into its listview controls. 

> I also caught the message that you had updated your GTK package but were 
> 
> working on the documentation.  I'll be anxious to see what you've added.

There are a number of reasons to prefer GTK 2 over the previous 
version, and only a couple of drawbacks. 

I'll work up a spreadsheet-like demo using GTK 2, and post it 
shortly.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

4. RE: IRV - GTK questions

I Mullins wrote:
> 
> 
> Jonas Temple wrote:
> 
> > Actually, what I'm looking for is a grid control similar to a grid you 
> > woud find in Excel or other spreadsheet packages.  After I sent my 
> > message last night I went surfin' and found GtkSheet, which appears to 
> > be what I want.  I will, however, have to come up with a Euphoria 
> > include file for the control.  I can't remember the web site off the top 
> > 
> > 
> > of my head but I just googled GtkSheet and the link was in the first 
> > page of results.
> 
> Well, there are a few problems with this. First of all, it's not 
> a library, so you'd have to create your own using the C source. 
> Secondly, it's not likely to be maintained, since it's for GTK 1x, 
> and GTK 2x has the same functionality built into its listview controls. 
>

Okay, I must have misunderstood what you meant in the earlier post.  If 
that functionality is currently in GTK's listview then I'll do that 
route and would certainly appreciate any examples!
  
> > I also caught the message that you had updated your GTK package but were 
> > 
> > 
> > working on the documentation.  I'll be anxious to see what you've added.
> 
> There are a number of reasons to prefer GTK 2 over the previous 
> version, and only a couple of drawbacks. 
> 
> I'll work up a spreadsheet-like demo using GTK 2, and post it 
> shortly.
> 
> Regards,
> Irv
> 

Thanks,

Jonas

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu