fpaquet / gtksheet

A spreadsheet widget for Gtk+
http://fpaquet.github.io/gtksheet/
Other
27 stars 9 forks source link

gtkcombox in gtksheet #30

Open songqingshan opened 3 years ago

songqingshan commented 3 years ago

gtksheet tutorial: "You can use GtkEntry or a GtkEntry subclass (e.g. GtkSheetEntry, GtkSpinButton) or a box or table containing a GtkEntry subclass (e.g. GtkCombo)". Is GtkCombo a GtkEntry subclass? I don't think so. I saw the example that Gtksheet for gtk2 can work with GtkCombo. But It seems that Gtksheet for gtk3 can not directly use with GtkCombo like GtkSpinButton (a subclass of GtkEntry).

songqingshan commented 3 years ago

It seems that GtkComboBox and GtkComboBoxEntry have the same issue. GtkComBox, GtkComBoxEntry and GtkComBoxText examples are added in testgtksheet.c so that user is easy to use them.

fpaquet commented 3 years ago

I would have to check it out, but time's missing.

What do you mean wich GtkComBox? GtkComboBox?

songqingshan commented 3 years ago

Thanks for your response. yes, it is GtkComboBox. I keep my records for a while. Since I have not got any response for multiple questions, I delete those records.


From: Fredy Paquet notifications@github.com Sent: February 9, 2021 12:16 PM To: fpaquet/gtksheet gtksheet@noreply.github.com Cc: songqingshan shans123@hotmail.com; Author author@noreply.github.com Subject: Re: [fpaquet/gtksheet] gtkcombox in gtksheet (#30)

I would have to check it out, but time's missing.

What do you mean wich GtkComBox? GtkComboBox?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/fpaquet/gtksheet/issues/30#issuecomment-776138278, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKKMCUYMELZI43SX5F634WDS6F3YXANCNFSM4RZC4OCQ.

fpaquet commented 3 years ago

We will try to reproduce this error in our development environment.

songqingshan commented 3 years ago

Hello Fredy,

I am reproducing errors that posted before, but solved. one of them is attached (one of column is missing). Thanks, Song


From: Fredy Paquet notifications@github.com Sent: February 16, 2021 1:43 AM To: fpaquet/gtksheet gtksheet@noreply.github.com Cc: songqingshan shans123@hotmail.com; Author author@noreply.github.com Subject: Re: [fpaquet/gtksheet] gtkcombox in gtksheet (#30)

We will try to reproduce this error in our development environment.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/fpaquet/gtksheet/issues/30#issuecomment-779650466, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKKMCU5QXVT25MHWCJD74ATS7IO2PANCNFSM4RZC4OCQ.

fpaquet commented 2 years ago

the testgtksheet app has a working GtkSpinButton in example "Folder 3" Just enter some data to see it.

Maybe just increase column width, to get it working.