Re: The Future?

2019-03-13 Thread Igor Korot via gtk-list
Hi, On Wed, Mar 13, 2019 at 11:08 AM Emmanuele Bassi wrote: > > On Wed, 13 Mar 2019 at 15:53, Igor Korot wrote: >> >> Hi, Emmanuel et al, >> >> On Sun, Mar 10, 2019 at 4:38 AM Emmanuele Bassi via gtk-list >> wrote: >> > >> > Meta: having this discussion on gtk-list is probably the best example

Re: The Future?

2019-03-13 Thread Igor Korot via gtk-list
Hi, Emmanuel et al, On Sun, Mar 10, 2019 at 4:38 AM Emmanuele Bassi via gtk-list wrote: > > Meta: having this discussion on gtk-list is probably the best example as to > why we need to move to Discourse. Nobody involved with the development of GTK > even reads this list, except me, so you're ne

Toolbar setup dialog

2019-03-07 Thread Igor Korot via gtk-list
Hi, list, On both Windows and OSX it is possible to have a standard platform-dependent toolbar setup dialog with the appropriate API. The dialog will allo to add/remove the tool button and re-arrange them. Is there such a dialog for GtkToolbar? Or I will have to create one myself? Is there a plan

Re:

2019-02-20 Thread Igor Korot via gtk-list
Paul, On Wed, Feb 20, 2019 at 12:30 PM Paul Davis wrote: > > > > On Wed, Feb 20, 2019 at 11:10 AM Igor Korot wrote: >> >> Hi, Paul, >> >> On Wed, Feb 20, 2019 at 12:03 PM Paul Davis >> wrote: >> > >> > >> > >&

Re:

2019-02-20 Thread Igor Korot via gtk-list
On Wed, Feb 20, 2019 at 12:10 PM Igor Korot wrote: > > Hi, Paul, > > On Wed, Feb 20, 2019 at 12:03 PM Paul Davis > wrote: > > > > > > > > On Wed, Feb 20, 2019 at 10:49 AM Igor Korot via gtk-list > > wrote: > >> > >> > >>

Re:

2019-02-20 Thread Igor Korot via gtk-list
Hi, Paul, On Wed, Feb 20, 2019 at 12:03 PM Paul Davis wrote: > > > > On Wed, Feb 20, 2019 at 10:49 AM Igor Korot via gtk-list > wrote: >> >> >> Why do we even talking about button number, when the doc explicitly said >> "right-click", which imp

Re:

2019-02-20 Thread Igor Korot via gtk-list
Hi, Stefan et al, On Wed, Feb 20, 2019 at 11:33 AM Stefan Salewski wrote: > > On Wed, 2019-02-20 at 11:07 -0600, Igor Korot via gtk-list wrote: > > Hi, ALL, > > This link https://developer.gnome.org/gtk3/stable/GtkToolbar.html#Gtk > > Toolbar-popup-context-menu >

Re:

2019-02-20 Thread Igor Korot via gtk-list
Nevermind. Didn't read the whole description. Sorry for the noise. Thank you. On Wed, Feb 20, 2019 at 11:07 AM Igor Korot wrote: > > Hi, ALL, > This link > https://developer.gnome.org/gtk3/stable/GtkToolbar.html#GtkToolbar-popup-context-menu > states that the parameter "button" can be "-1". >

[no subject]

2019-02-20 Thread Igor Korot via gtk-list
Hi, ALL, This link https://developer.gnome.org/gtk3/stable/GtkToolbar.html#GtkToolbar-popup-context-menu states that the parameter "button" can be "-1". What is the scenario when this occurs, i.e. it should be the button number that was clicked IIUC? Thank you for clarification.

Re: GtkSelectionMode

2019-02-14 Thread Igor Korot via gtk-list
Hi, Greg, On Thu, Feb 14, 2019 at 4:07 PM Greg Ewing wrote: > > Igor Korot via gtk-list wrote: > > I interpret this as following: > > Using 1, I can select multiple string with just a mouse click if the > > string is not being selected. If the string is already

Re: GtkSelectionMode

2019-02-14 Thread Igor Korot via gtk-list
Hi, Paul, On Thu, Feb 14, 2019 at 10:41 AM Paul Davis wrote: > > > > On Wed, Feb 13, 2019 at 10:49 PM Igor Korot wrote: >> >> Hi, Paul, >> >> On Wed, Feb 13, 2019 at 10:03 PM Paul Davis >> wrote: >> > >> > >> > >

Re: GtkSelectionMode

2019-02-13 Thread Igor Korot via gtk-list
Hi, Paul, On Wed, Feb 13, 2019 at 10:03 PM Paul Davis wrote: > > > > On Wed, Feb 13, 2019 at 2:30 PM Igor Korot via gtk-list > wrote: >> >> >> Unfortunately thats not how it looks here. >> When I create a control with GTK_SELECTION_MULTIPLE and just cl

Re: GtkSelectionMode

2019-02-13 Thread Igor Korot via gtk-list
re named... ;) >> >> the example you coded didn't work like this? >> >> richard >> >> On Wed, Feb 13, 2019 at 4:04 PM Igor Korot via gtk-list >> wrote: >>> >>> Hi, >>> >>> On Wed, Feb 13, 2019 at 1:00 PM LRN

Re: GtkSelectionMode

2019-02-13 Thread Igor Korot via gtk-list
Hi, On Wed, Feb 13, 2019 at 1:00 PM LRN via gtk-list wrote: > > On 13.02.2019 20:41, Igor Korot via gtk-list wrote: > > Hi, list, > > This link: > > https://developer.gnome.org/gtk3/stable/gtk3-Standard-Enumerations.html#GtkSelectionMode > > has 4 modes for

GtkSelectionMode

2019-02-13 Thread Igor Korot via gtk-list
Hi, list, This link: https://developer.gnome.org/gtk3/stable/gtk3-Standard-Enumerations.html#GtkSelectionMode has 4 modes for selection, while this link: https://developer.gnome.org/gtk2/stable/gtk2-Standard-Enumerations.html#GtkSelectionMode has 5. I understand that on GTK "selection multiple" a

GtkTextView and undo/redo

2018-11-28 Thread Igor Korot via gtk-list
Hi, ALL, I'm surprised that there is no Undo/Redo functionality inside GtkTextView. Or maybe I'm looking at the wrong class and Undo/Redo is in a different one? Thank you. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listin

Re: Fwd: How do I get the number

2018-10-09 Thread Igor Korot via gtk-list
n (tree_view, current); > > } > > if (cur_column != NULL) { > > // found the matching column, index stored in "current" > > } > > On 10/9/2018 3:00 AM, Igor Korot via gtk-list wrote: > > Hi, list, > > Does anybody know how do I get the inf

Fwd: How do I get the number

2018-10-09 Thread Igor Korot via gtk-list
: Can't convert GtkTreeViewColumjn to GtkTreePath The "row-activated" callback is defined as: void user_function(GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data); And so the types are unrelated. What am I doling wrong? Thank you. On 07/1

Re: How do I get the number

2018-10-08 Thread Igor Korot via gtk-list
BTW, what do you mean by saying: "simple 2-dimensional tree"? >> Is there going to be n-dimensional tree? How it will be represented on >> the screen? Do you have a screenshot? >> >> Thank you. >> >> By the way, don't try to free the indices ar

Re: How do I get the number

2018-10-08 Thread Igor Korot via gtk-list
mn = gtk_tree_path_get_indices( column ); > > but got an error: > > Can't convert GtkTreeViewColumjn to GtkTreePath > > The "row-activated" callback is defined as: > > void user_function(GtkTreeView *tree_view, GtkTreePath *path, > GtkTreeViewColumn *column,

Re: How do I get the number

2018-10-07 Thread Igor Korot via gtk-list
Hi, Goran, On Sun, Oct 7, 2018 at 4:02 PM Göran Hasse wrote: > > Can this be any clue? I looked at the code of DisplayTree.c, but there is no "row-activated" signal anywhere. And so unfortunately it is not helpful. Sorry. Thank you. > > /gh > > On 2018-10-08 02

How do I get the number

2018-10-07 Thread Igor Korot via gtk-list
Hi, ALL, For the GtkTreeView there is a "row-activated" signal: https://developer.gnome.org/gtk3/stable/GtkTreeView.html#GtkTreeView-row-activated. That function receives as a parameter column the GtkTreeViewColumn in which the activation occurred. The problem is (at least as I see it) is that i