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
/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
/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
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)
On Fri, 5 Apr 2019, 12:36 Mike Martin, wrote:
> Update, I worked out how to get rid of highlight
>
> 1 treeview->set selection mode(none)
> 2 treeview->signal_connect(row_activated =>sub{
> Treeview->set_cursor_on_cell(path,column,cell,true)
> }
> )
>
> N
nd 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:
> > Is this possible?
> >
> > I did originally plan to have certain cells have a background colour
> > to
>
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
I resolved it by applying
set_halign('start') to only the textview in the layout
Looks like some interaction between the textview and the multicolumn
liststore
On Wed, 3 Apr 2019 at 12:53, Reuben Rissler wrote:
> On 04/02/2019 05:09 AM, Mike Martin via gtk-app-devel-list wrote:
&
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
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
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
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 Mon, 18 Mar 2019 at 16:01, Mike Martin wrote:
> Is it possible to set different backg
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
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
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
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
er cancel edition)
>- editing-canceled
> In all cases you only have the path of the edited row, since the
> cellrenderer does not "know" the model it is displaying : you have to pass
> it through the signal user_data (then you can build the iter and do your
> edition c
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-
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
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),
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
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
Hi
For one of my apps I want to setup a multi page widget with next previous
navigation.
Is this possible? I cant seem to find an appropriate widget?
What I want to do is set up a preview widget based on a db query, so that
based on the query each entry would be shown ie:
$sql = select fname,lna
I am trying to eliminate this warning ie:
(membership_gui.pl:4729): Gtk-WARNING **: Allocating size to GtkWindow
0x44d4260 without calling gtk_widget_get_preferred_width/height(). How does
the code know the size to allocate?
(membership_gui.pl:4729): Gtk-WARNING **: Allocating size to GtkWindow
0
Anyone?
On 23 July 2017 at 18:30, Stefan Salewski wrote:
> On Sun, 2017-07-23 at 17:46 +0100, Mike Martin wrote:
> > Gtk version 3.22
>
> I see a similar message for evince pdf viewer whenever I use it since
> some months. But I have no idea for the reason unfortunately
>
I am trying to eliminate this warning ie:
(membership_gui.pl:4729): Gtk-WARNING **: Allocating size to GtkWindow
0x44d4260 without calling gtk_widget_get_preferred_width/height(). How does
the code know the size to allocate?
(membership_gui.pl:4729): Gtk-WARNING **: Allocating size to GtkWindow
0
I am trying to make entries "greyed-out" ie: disabled, rather than hidden
eg the Combobox model contains ('Scandvb','DVB module','DVDb5-Scan')
There is another comboox with a configuration file chosen
I want to be able to make one or more of the entries unselectable if
prerequites are not availa
Hi
Is it possible to disable an item in a combobox?
I cant find anything about this, set_sensitive only seems to apply to
either cell-renderer or widget
thanks
Mike
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.or
Hi
I have a weird issue on an application I am developing
The application is fully tabbed and runs loops to transcode video files,
and I would like to be able to run the main transcoding loop fully in
parrellel, ie: the process running in one tab is totally seperate to that
running in another tab
30 matches
Mail list logo