Is there any way to disable the editing-cancelled event on cellrenderertext.
Background
When I have a liststore contained within a treestore I want the value to be
be saved if I click on a button not contained within the treeview, so that
it does not just dissapear
Focus events dont seem to work
Is this possible?
I have a (for example) a grid which contains
Various action widgets
And a Treeview based on a liststore
Is there any way to make sure that the changes made to a cell in the
liststore are "committed" if I click on one of the other widgets
I cant find anything to do this and if I
I have come across an issue where the iter points to the wrong row on
edited signal after sorting the column (via clicking header).
This only happens with edited signal and not editing-started (which is
correct)
The edited iter is obtained via
treeview->get_model->get_iter_from_string($path_str),
according to the docs the path reference is
edited signal = path
editing-started = path
changed = path_string
which I thought meant that path would be a treepath (ie: an object) and
path_string would be a reference to the row (an integer in the case of a
simple liststore)
However in all three ca
Thanks
Though what I don't quite get is the difference in behaviour between
editing-started and edited (both using path to get the ITER)
On my particular scenario I use editing-started to setup some stuff so I
can use the iter created
On Thu, 28 Feb 2019, 12:30 Nicolas Soubeiran via gtk-app-devel-
On Thu, 28 Feb 2019 at 18:05, Nicolas Soubeiran
wrote:
> As you noticed "editing-started" is used at the beginning of editing a
> cell as the documentation states and is defined on the base class
> GtkCellRenderer:
>
> This signal gets emitted when a cell starts to be edited. The intended use
> o
Is it possible to set different background for a treestore, with a
liststore, for populated rows v blank area.
ie: If I have a dynamic treeview I would like to have one background colour
for the rows and another for the treestore where there are no rows
The particular example has the following tr
Its not whether the row is empty, its whether it exists
On Mon, 18 Mar 2019 at 23:25, Daniel Kasak wrote:
> On Tue, Mar 19, 2019 at 3:01 AM Mike Martin via gtk-app-devel-list <
> gtk-app-devel-list@gnome.org> wrote:
>
>> Is it possible to set different background fo
apologies I did resolve my issue , posted as wrong person
Resolved my issue, turns out I needed some voodoo with properties
$widgetpage{file_scroll}->set('propagate_natural_height','1');
$widgetpage{file_scroll}->set_vexpand(0);
On Tue, 19 Mar 2019 at 18:53, wrote:
>
> Hi Mike,
>
> Have you t
I am using an embedded Gtk grid within a grid , which contains numerous
widgets
However if I have a widget that spans more than one column it messes up the
layout of all other widgets , which seem to position themseleves randomly
along the width of this widget, causing horribly jagged widget placem
Hi I have a simple tree view based on a list store
What is the best way to set attributes per row/column is for a specific
cell not for a row or column?
Basically it is used to set various options and some cells are not used, so
I want them to be non-activatable /selectable to prevent any confusi
Is this possible?
I did originally plan to have certain cells have a background colour to
emphasize that there is a value to change. However as soon as the row is
selected this is all wiped out by the highlight from selected row
So is it possible to set the borders on a cell by cell basis, all I
ot exact code, but this is process that worked for me
>
> Would still be useful if I could find out about borders though
>
>
>
> On Fri, 5 Apr 2019, 08:03 , wrote:
>
>> Am Donnerstag, den 04.04.2019, 23:04 +0100 schrieb Mike Martin via gtk-
>> app-devel-list:
>
Has anyone done anything like this?
Basically the idea is that I push multiple renderers into a treeview column
, then depending on the row hide/show the appropriate renderer (text,
combo, toggle)
Then call the appropriate signal_connect (edited, changed, toggled)
/renderer)
On Mon, 29 Apr 2019 at 22:57, Reuben Rissler wrote:
>
>
> On 04/29/2019 10:36 AM, Mike Martin via gtk-app-devel-list wrote:
> > Has anyone done anything like this?
> I haven't, but you are w
Are there any gtypes that are compatible with both toggle and text
renderers?
Thanks
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
16 matches
Mail list logo