Hello,
I am making a GTK3 application with GtkTreeView listing.
The simple listing will show country flags + names and number of
radio-channels (to later choose from).
I want to show a button or icon in a column (in the cell) when the row has
been selected.
Otherwise the cell should be empty
e know.
Cheers,
Lars
Am 12.07.2018 um 18:11 schrieb Lars Paulsen:
Hello All,
I got a little problem with a GtkTreeView and with getting the cell
which actually has got the focus:
From the API documentation it seems like
gtk_tree_view_get_cursor(GTK_TREE_VIEW(tree), &path, &focus_col
know.
Cheers,
Lars
Am 12.07.2018 um 18:11 schrieb Lars Paulsen:
Hello All,
I got a little problem with a GtkTreeView and with getting the cell
which actually has got the focus:
From the API documentation it seems like
gtk_tree_view_get_cursor(GTK_TREE_VIEW(tree), &path, &focus_column)
Hello All,
I got a little problem with a GtkTreeView and with getting the cell
which actually has got the focus:
From the API documentation it seems like
gtk_tree_view_get_cursor(GTK_TREE_VIEW(tree), &path, &focus_column);
is doing the job. I can handle the path, it gives me the r
Hi All,
I am using a GTkTreeView with automatic DND enabled and I wonder if
there is a simple way to prevent/suppress
that a toplevel item can be dragged to a child position of another
toplevel item.
What I did so far was catch the "row-inserted" signal, check if the item
has
On Sat, Mar 10, 2018 at 10:40 PM, wrote:
> that does seem to do the trick. Seems rather unfortunate though to set
> it by manually. I was hoping there's at least a predefined theme color
> variable anywhere to put in here.
You might try using the :not CSS selector. The documentation mentions
it
at 14:26 +0100, codemusi...@gmail.com wrote:
> > Hi there,
> >
> > I'm trying to change the background-color of a GtkTreeView by
> > adding
> > a
> > css provider with the following style set:
> >
> > treeview { background-color: #fffa
On Sat, 2018-03-10 at 14:26 +0100, codemusi...@gmail.com wrote:
> Hi there,
>
> I'm trying to change the background-color of a GtkTreeView by adding
> a
> css provider with the following style set:
>
> treeview { background-color: #fffae1; }
>
> Unfortunat
try with
treeview:selected {
background-color: white;
}
Luca
2018-03-10 14:26 GMT+01:00 :
> Hi there,
>
> I'm trying to change the background-color of a GtkTreeView by adding a
> css provider with the following style set:
>
> treeview { background-color: #fffae1; }
Hi there,
I'm trying to change the background-color of a GtkTreeView by adding a
css provider with the following style set:
treeview { background-color: #fffae1; }
Unfortunately this has the effect that the row selection color changes
from the default blue to this particular backg
Hi Kian,
A list box is more flexible for allowing different widgets but the performance
might not be so good if you have a lot of rows. Don't have the numbers to show
that though.
You can put your individual widgets into a scrolled window if you want. The
scroll bars will show if the conte
On Thu, Jan 25, 2018 at 4:40 PM, Kian Karas wrote:
>> Part Number 71-00
>> Version47.11D
>> Build Number kk-5910
>> NATID 8988 1697
>> 0013
>
> If a row is to span multiple lines, it might improve read
On Thu, Jan 25, 2018 at 10:13 AM, Yuri Khan wrote:
> On Thu, Jan 25, 2018 at 3:18 PM, Kian Karas
> wrote:
>
> > It's an industrial device with a 4.5" screen. The only input method is a
> > keypad. The keypad has up/down/left/right/enter/back buttons (and some
> other
> > domain specific keys). T
On Thu, Jan 25, 2018 at 10:13 AM, Yuri Khan wrote:
> On Thu, Jan 25, 2018 at 3:18 PM, Kian Karas
> wrote:
>
> > It's an industrial device with a 4.5" screen. The only input method is a
> > keypad. The keypad has up/down/left/right/enter/back buttons (and some
> other
> > domain specific keys). T
On Thu, Jan 25, 2018 at 3:18 PM, Kian Karas wrote:
> It's an industrial device with a 4.5" screen. The only input method is a
> keypad. The keypad has up/down/left/right/enter/back buttons (and some other
> domain specific keys). The before mentioned keys are used to navigate a menu
> system.
>
>
You're right, I tried to keep the information level low in case there was
an actual solution to what I hoped was possible. In lack of that, here is a
more thorough description of the problem domain.
It's an industrial device with a 4.5" screen. The only input method is a
keypad. The keypad has up/
On Mon, Jan 22, 2018 at 6:03 PM, Kian Karas wrote:
> I have a GtkTreeview with size constraints, which causes the text of one
> particular column in one particular row not to fit into its cell.
>
> Is there a way for the user to scroll the content of a specific cell (i.e.
> a spe
Hi Eric
I was not aware of the list box. It looks more flexible than the tree view,
and might be what i need.
However, then my problem would be to scroll some other widget (other than a
GtkTreeview cell), without adding a scroll bar. The only space I have is
within the cell of the table. Using
Hi Kian,
Have you tried a GtkListBox for this? You can probably setup a scrolling window
in a row in a listbox.
https://blog.gtk.org/2017/06/01/drag-and-drop-in-lists-revisited/
Eric
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
ht
On Wed, Jan 24, 2018 at 12:42 PM, Lucky B.C wrote:
> There's no supporting for scrolling one cell! But If I'm not wrong, the
> string value you put in the right column is a very long text, isn't it? And
> you want a solution for seeing the text in the limited view, don't you?
>
Yes, that's exactl
" screen, a few navigation
> buttons, and no mouse.
>
> On Wed, Jan 24, 2018 at 11:15 AM, infirit wrote:
>
> > Op 01/22/2018 om 12:03 PM schreef Kian Karas:
> > > I have a GtkTreeview with size constraints, which causes the text of
> one
> > > particular col
018 at 11:15 AM, infirit wrote:
> Op 01/22/2018 om 12:03 PM schreef Kian Karas:
> > I have a GtkTreeview with size constraints, which causes the text of one
> > particular column in one particular row not to fit into its cell.
>
> If I remember correctly a GtkTreeView is scrolla
Op 01/22/2018 om 12:03 PM schreef Kian Karas:
> I have a GtkTreeview with size constraints, which causes the text of one
> particular column in one particular row not to fit into its cell.
If I remember correctly a GtkTreeView is scrollable so it will add
scrollbars when it has grown large
ote:
> Hi, can you show a demo about the problem?
>
> On Mon, Jan 22, 2018 at 6:03 PM, Kian Karas
> wrote:
> > Hi,
> >
> > I have a GtkTreeview with size constraints, which causes the text of one
> > particular column in one particular row not to fit into its
Hi, can you show a demo about the problem?
On Mon, Jan 22, 2018 at 6:03 PM, Kian Karas wrote:
> Hi,
>
> I have a GtkTreeview with size constraints, which causes the text of one
> particular column in one particular row not to fit into its cell.
>
> Is there a way for the
Hi,
I have a GtkTreeview with size constraints, which causes the text of one
particular column in one particular row not to fit into its cell.
Is there a way for the user to scroll the content of a specific cell (i.e.
a specific column in the current highlighted row) - e.g. with the keyboard
eturn FALSE;
}
-Original Message-
From: pspgen
To: cecashon
Sent: Tue, Sep 19, 2017 11:36 am
Subject: Re: Mouse leave on a row of GtkTreeView
- Цитат от cecas...@aol.com, на 19.09.2017 в 20:38 -
Could you use a GtkListBox? With a list box you can add a widget
Could you use a GtkListBox? With a list box you can add a widget to the row and
connect the "enter-notify-event" and "leave-notify-event" signals. There is
example code for a list box at
https://blog.gtk.org/2017/06/01/drag-and-drop-in-lists-revisited/
It is drag and drop but you could chang
How can I detect when the mouse cursor leaves a GtkTreeView row ?
Note that the signal "cursor-changed" is not what I am looking for, as it
gets emitted as if it is a mouse enter (mouseover) event and I need it to
be triggered
when the mouse has just left the row. However within "
Hi
I have a bunch of toggles in a TreeView with their state bound to
entries in a model, what's the best way to find out which model column
to modify in my toggled callback?
I'm passing the TreeViewColumn in the userdata but can't find a way to
get back the attribute that binds the toggle state t
Hi,
i currently work on psppire http://savannah.gnu.org/projects/pspp/ and want to
use gtktreeview for a large number of columns (2000) and rows (1). I use
only a kind of fake tree model while the actual rendering and data retrieval is
done via gtk_tree_view_column_set_cell_data_func. I
Hi,
i am working on an application which uses GtkTreeView. I tried to start editing
the cells with one click by setting the focus of the cell in the row-activated
callback like this:
static void
on_row_activated (GtkTreeView *treeview,
GtkTreePath *path
example) I need to pick each material in a liststore with dnd and copy to
a place into another gtktreeview with treestore I will start my construction
place first the basement, put walls, put ceiling and others. Into gtk program I
will give me a list of material inside a liststore and a treestore that
On Mon, 23 Mar 2015 12:50:28 +
Ubirajara Marques da Cruz wrote:
> Into ON_DRAG_RECEIVED signal when I copy selection data with memcpy I have a
> surprise. Gtk selection has the same structure but data is empty. And only
> one data is copied and it is wrong. It is a genum.
Maybe this tutori
To gtk team,
I´m developing an app with drag and drop operation between 2 treeviews and I
have had some problems with dnd mechanism.
I do a G_VALUE_ARRAY to hold the following selected datas. I was fulfill in
signal ON_DRAG_GET.
Tabela is my gvaluearray and datas I wanna hold are, number of c
On 12/12/2014 06:57 PM, Allin Cottrell wrote:
> I'm using GtkTreeView to implement a simple spreadsheet.
>
> With GTK 2, if use gtk_tree_view_set_cursor() to place keyboard focus
> on a given cell, with the last argument set to FALSE so that editing
> mode is not entered
I'm using GtkTreeView to implement a simple spreadsheet.
With GTK 2, if use gtk_tree_view_set_cursor() to place keyboard focus
on a given cell, with the last argument set to FALSE so that editing
mode is not entered immediately, I get a visual indication of which
cell is focused. It
Le 07/01/2014 22:48, Jordan H. a écrit :
>
> Man, sorry, but I guess I'm still not getting this.
>
> I've added a GtkTreeViewColumn and GtkCellRenderer to the GtkTreeView:
>
>
> Button Label
> True
> True
>
>
>
>
Actually the patch s
Le 06/01/2014 22:10, jorda...@fastmail.fm a écrit :
> I suppose an attachment would be helpful (weird that it didn't send).
OK, better now indeed.
So, your problem is that you don't add columns to your tree view. A
TreeView [1] displays TreeViewColumns [2], which itself contain
CellRenderer [3].
tore_button_list")
> > is assigned the GtkTreeView ("treeview_button_order").
>
> Looks like the attachment is missing.
>
> > The GtkTreeView doesn't seem to reflect the changes made to the
> > GtkListStore.
>
> No idea if it could be this, bu
Hi,
Le 06/01/2014 17:26, Jordan H. a écrit :
> Attached is the Glade file. The GtkListStore ("liststore_button_list")
> is assigned the GtkTreeView ("treeview_button_order").
Looks like the attachment is missing.
> The GtkTreeView doesn't seem to reflect the
Thank you. I'll look into templates.
Attached is the Glade file. The GtkListStore ("liststore_button_list")
is assigned the GtkTreeView ("treeview_button_order").
The GtkTreeView doesn't seem to reflect the changes made to the
GtkListStore. I iterated through the
On Sat, 2014-01-04 at 23:46 -0600, Michael Cronenworth wrote:
> On 01/04/2014 05:21 PM, Jordan H. wrote:
> > In Glade I've defined column "0" in the list store as a "gchararray"
> > cell. I even tried forcing the assignment of GtkListStore to GtkTreeView
&
On 01/04/2014 05:21 PM, Jordan H. wrote:
In Glade I've defined column "0" in the list store as a "gchararray"
cell. I even tried forcing the assignment of GtkListStore to GtkTreeView
(knowing full well I wouldn't need to) to no avail.
I don't get any errors,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
I've defined a GtkTreeView in Glade with a GtkListStre as the store. I'm
trying to add data to the list on a button click. Here's the function:
void update_list(){
GtkListStore *list_store;
GtkTreeIter iter;
On Mon, Dec 9, 2013 at 9:43 PM, Max Linke wrote:
> pack option was the right hint. I just saw that the expanding option is
> hidden there in glade. After setting expand to yes for the
> ScrolledWindow everything works like I expect it to.
>
> Thanks for the quick help
Excellent! Glad to be of ser
On Mon, 2013-12-09 at 20:49 +1100, Chris Angelico wrote:
> On Mon, Dec 9, 2013 at 7:45 PM, Max Linke wrote:
> > Thanks that fixed it. So far Gtk looks nice and easier then I
> > expected :)
>
> I quite like GTK, too. Most of my GUI work is in Pike, which is
> semantically similar to Python (which
On Mon, Dec 9, 2013 at 7:45 PM, Max Linke wrote:
> Thanks that fixed it. So far Gtk looks nice and easier then I
> expected :)
I quite like GTK, too. Most of my GUI work is in Pike, which is
semantically similar to Python (which I think is what you're using?).
GTK does a fine job of everything I
On Sun, 2013-12-08 at 15:09 -0800, Andrew Potter wrote:
> The cell renderer should be or be derived from a GtkCellRendererText.
> The GtkCellRendererText has an ellipsize property that you can set. If
> the text isn't allowed to be ellipsized, then the minimum size of the
> column is going to be t
On Sun, Dec 8, 2013 at 2:45 PM, Max Linke wrote:
> I'm writing my first GTK app with pygobject. I'm struggling with the
> resizing of treeview columns. The data in one column are quite long
> strings (filepaths) and I want to be able to dynamically resize the
> column to something smaller then th
Hi
I'm writing my first GTK app with pygobject. I'm struggling with the
resizing of treeview columns. The data in one column are quite long
strings (filepaths) and I want to be able to dynamically resize the
column to something smaller then the length of the strings.
I'm creating the columns lik
On Wed, 27 Nov 2013 14:19:37 +0100, Colomban Wendling
wrote:
> Le 27/11/2013 12:57, Jarosław Sobieszek a écrit :
>> Hello,
>>
>> I'm trying to dynamically modify list based on some action. Program
below
>> should add 3 rows at the top and 3 rows at the bottom of the list for
>> every
>> click of
Le 27/11/2013 12:57, Jarosław Sobieszek a écrit :
> Hello,
>
> I'm trying to dynamically modify list based on some action. Program below
> should add 3 rows at the top and 3 rows at the bottom of the list for every
> click of the button. For some reason it doesn't work - I'm seeing partial
> updat
missing something or is it a bug in gtk3 (gtk3-3.8.6 under Fedora 19)?
>
You're missing a trivial thing - GtkTreeView is scrollable.
After clicking the button, simply scroll the widget either up or down.
___
gtk-app-devel-list mailing list
gtk-
Hello,
I'm trying to dynamically modify list based on some action. Program below
should add 3 rows at the top and 3 rows at the bottom of the list for every
click of the button. For some reason it doesn't work - I'm seeing partial
updates with random amount of data (only 2 top rows on first click,
How does one obtain fine-grained control over the vertical spacing
between rows in a GtkTreeViewColumn?
Obviously, there is the vertical-separator style property for the easy
case, when all rows should have the same vertical spacing.
But I am unsure how to handle the case of per-row vertical
Tomasz Jankowski wrote:
> I'm working on UI for embedded system using GTK+ 2.24. I want to
> change GtkTreeView background (area behind rows, which is by default white)
> to match default color of window area (grey by default).
> I retrieved GtkStyle associated with GtkWindow an
Hello,
I'm working on UI for embedded system using GTK+ 2.24. I want to
change GtkTreeView background (area behind rows, which is by default white)
to match default color of window area (grey by default).
I retrieved GtkStyle associated with GtkWindow and looked for this
particular tint of
Dear friends,
below I have copied the way I am creating a treeview. Maybe, you may
find some part is not necessary, but still I put them to show you how I
am doing the things.
I need help in few things:
1) for my typical testing file, which has ~150 entry(to be parsed by
parse.sh, create file "
I have a GtkTreeView and I am able to double click and trigger my function on
double clicking.
Now if I add a renderer and make it editable, double clicking always goes to
edit mode for the cell.
Instead, I want to edit only when I single click on an already selected cell
and my double click
I'm working with a tree view widget which needs to be nice and
accessible. Here is a picture:
http://ubuntuone.com/1pP5oWD1HCIUQ4OqptHZfw
The Install column has three cell renderers, and many of the columns
have content that would be unclear coming from a screen reader.
Currently, without any speci
I'm using Gtk+-3.2.3 on Ubuntu natty. How can I set the column header color
for a list in a GtkTreeView with css? ( Header is visible )
I can set row color with:
GtkTreeView row {
background-color: red;
}
So I tried this for the column header which doesn't work:
GtkTreeView col
How can I change the unselected row color in a GtkTreeView using CSS in
Gtk3?
I've tried even-row-color, -GtkWidget-even-row-color and GtkTreeView
row:nth-child(even)
/* COMPILE WITH: gcc -Wall -o tree1 `pkg-config --cflags --libs gtk+-3.0`
tree1.c */
#include
enum
{
LIST_ITE
Hi, all!
I trying to make small gtk-application with gtk2-perl(
http://bazaar.launchpad.net/~oivanenko/photostock-helper/db-gladeless/files)
and now I have some questions about GtkTreeView behavior:
1. How I can select range of arbitrary cells, but not rows in TreeView? Can
I even do this? What
9s
> user 0m29.168s
> sys 0m0.023s
GtkTreeView should definitely be usable with millions of rows in
the data model.
Remember that "should" is a word with many implications, things
that GtkTreeView should be doing include avoiding requesting the
size for every row in the mode
t's linked to the tree view slows
> things down quite a bit.
>
> - Jannis
Yes, we follow this practice. As a "jcupitt" pointed out, what I was
missing was to use "fixed height mode" for the GtkTreeView so that it
doesn't tr
On 12/16/2011 05:54 AM, jcup...@gmail.com wrote:
> ...
>
> I did notice that you forgot to put the treeview into fixed-height mode.
>
> Normally, treeview lets rows vary in height (so you can change font
> between rows, for example). To make this work, treeview has a idle
> task which scans the ent
Steve,
I use the "time" shell command and wait for my CPU meter to drop back to
idle before quitting the test program, giving something like this:
time ./list-test
real0m31.719s
user0m29.168s
sys0m0.023s
-- John
On 12/16/2011 12:24 AM, Steve . wrote:
> John,
>
> Tim
On 16 December 2011 10:36, wrote:
> 2011/12/16 John Lindgren :
>> Lately I have been trying to improve the performance with large
>> playlists (i.e. on the order of 100,000 entries). The one remaining
>> problem spot seems to be GtkTreeView. I am attaching a simple test
&g
blem spot seems to be GtkTreeView. I am attaching a simple test
> program that creates a GtkTreeView with 3 columns and 100,000 rows.
> With GTK+ 3.2.2, the program uses 29 seconds of CPU time before
> reaching idle, on a 2 GHz Core 2 Duo. (GTK+ 2.24.8 is considerably
> better, at 10 s
2011/12/16 John Lindgren :
> Lately I have been trying to improve the performance with large
> playlists (i.e. on the order of 100,000 entries). The one remaining
> problem spot seems to be GtkTreeView. I am attaching a simple test
> program that creates a GtkTreeView with 3 columns
Steve,
Are you looking at the time it takes to show the window or the time
before the CPU usage drops to idle? GtkTreeView does a lot of work in
the background after the window appears.
-- John
On 12/15/2011 11:17 PM, Steve . wrote:
> John,
>
> I just ran your test on my thinkpadx61,
; may require some major architecture modifications depending how the
> lists are stored / referenced. Not to mention maintenance headaches
Shouldn't GtkTreeView already be doing this, or something like? As a
matter of fact, I wrote/rewrote a custom list widget for Audacious's
older W
lists (i.e. on the order of 100,000 entries). The one remaining
> problem spot seems to be GtkTreeView. I am attaching a simple test
> program that creates a GtkTreeView with 3 columns and 100,000 rows.
> With GTK+ 3.2.2, the program uses 29 seconds of CPU time before
> reac
Hi,
I am the lead developer of Audacious (a GTK+ based music player).
Lately I have been trying to improve the performance with large
playlists (i.e. on the order of 100,000 entries). The one remaining
problem spot seems to be GtkTreeView. I am attaching a simple test
program that creates a
On 12/02/2011 03:55 PM, Rafał Krupiński wrote:
> 2011/12/1 David Nečas :
>> What are you talking about? You can pass any GObject-derived type as
>> the column type (not that it matters much, the net result is the same as
>> passing G_TYPE_OBJECT). You get back the objects that you stored there.
>
On 12/02/2011 04:01 PM, David Nečas wrote:
> On Fri, Dec 02, 2011 at 03:55:51PM +0100, Rafał Krupiński wrote:
>> I rather meant to use my object as a model for a whole, multi-column
>> row, somehow binding fields or properties to columns.
> It makes no sense (to me anyway) to imagine one object as
On Fri, Dec 02, 2011 at 03:55:51PM +0100, Rafał Krupiński wrote:
> I rather meant to use my object as a model for a whole, multi-column
> row, somehow binding fields or properties to columns.
It makes no sense (to me anyway) to imagine one object as multiple
*model* columns.
But it is easy to cre
2011/12/1 David Nečas :
> What are you talking about? You can pass any GObject-derived type as
> the column type (not that it matters much, the net result is the same as
> passing G_TYPE_OBJECT). You get back the objects that you stored there.
>
> If you store objects of different classes to the
On Thu, Nov 24, 2011 at 04:30:25PM +0100, Rafał Krupiński wrote:
> How do I display list of custom objects in GtkTreeView?
> GtkTreeView takes GtkListStore as a model, but it doesn't allow custom
> objects, only list of gobjects.
>
> On the other hand, when I want to read li
Hello
How do I display list of custom objects in GtkTreeView?
GtkTreeView takes GtkListStore as a model, but it doesn't allow custom
objects, only list of gobjects.
On the other hand, when I want to read list's selection all I get is
the GtkListStore model - list of gobjets and I have
2011/11/28 Rafał Krupiński :
> On 28.11.2011 14:17, Tristan Van Berkom wrote:
>>
>> 2011/11/28 Rafał Krupiński:
>>>
>>> Hi all!
>>>
>>> How do I display list of custom objects in GtkTreeView?
>>> GtkTreeView takes GtkListStore as a
2011/11/28 Rafał Krupiński :
> Hi all!
>
> How do I display list of custom objects in GtkTreeView?
> GtkTreeView takes GtkListStore as a model, but it doesn't allow custom
> objects, only list of gobjects.
What could that possibly mean ?
If you have custom derived GObject
Hi all!
How do I display list of custom objects in GtkTreeView?
GtkTreeView takes GtkListStore as a model, but it doesn't allow custom
objects, only list of gobjects.
On the other hand, when I want to read list's selection all I get is
the GtkListStore model - list of gobjets and
Hi,
A sidebar (as in nautilus) is just a GtkTreeView, right? I want my
TreeView to pick up the style for .sidebar class from gtk3 themes.
here is how I'm trying to do it
treeview_style = treeview.get_style_context()
treeview_style.add_class('sidebar')
but this d
I ported an app from GTK2 to GTK3. Aside from lots of function renaming
and layout adjusting due to the flipping of the expand flag...
I have a problem with columns in GtkTreeView widgets. In GTK2, resizing
a column with the mouse past the width of the visible tree wouldn't
cause the
Hi list,
i have a problem with GtkTreeViews in Gtk+-3.0. I want a behaviour like
this: http://i.imgur.com/vAaHk.png
My problem is, that this is not the default setting for GtkTreeViews. I
already made an Test-Case for this: http://pastebin.com/wxvNAyUa
The commented Code was only a test, but it
re the style properties for each gtkWidget and in particular the
> vertical-separator style property for my gtktreeview, but how can I set the
> vertical-sperator?
In Glade it's vertical|horizontal|both
HTH
Michal
___
gtk-app-devel-list mailing
re the style properties for each gtkWidget and in particular the
> vertical-separator style property for my gtktreeview, but how can I set the
> vertical-sperator?
Is that not property of your theme?
I have no separator between columns.
HTH
Michal
___
vertical-separator style property for my gtktreeview, but how can I set the
vertical-sperator?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hello everybody,
I am trying to develop a small music manager using GTK+ and GStreamer.
However, I am currently unable to display the stream information (like
artist, title, album, etc...) on the GtkTreeView.
I do not know if anyone here has any experience developing software like
this. But the
ed to achieve that with
a timeout. A huge lot of work
to achieve something trivial. It's so unnatural that I suspect there is a more
elegant way not known to me
who am still a novice in GTK+.
Lance
----
> Date: Wed, 9 Mar 2011 06:41:11 +0900
> S
On Wed, Mar 9, 2011 at 12:38 AM, Lance Zhang wrote:
>
> Hi:
>
> I have a situation where I need to verify data before allowing a row change
> in a GtkTreeView. Essentially:
>
> 1. User requests a row change through a keyboard or a mouse;
> 2. Check if data in the cur
Hi:
I have a situation where I need to verify data before allowing a row change in
a GtkTreeView. Essentially:
1. User requests a row change through a keyboard or a mouse;
2. Check if data in the current row has been edited without be saved, or even
is complete
and valid, and prompt the user
GtkTreeViewColumn implement GtkCellLayout interface, so you can use
GtkCellLayout methods to packing more than one GtkCellRenderer.
2010/7/31, c-aries :
> Hi everyone.
>
> As the attachment picture shows, I wanna append a column group "Position" to
> the GtkTreeVi
Hi everyone.
As the attachment picture shows, I wanna append a column group "Position" to
the GtkTreeView.
The column group "Position" has 3 GtkTreeViewColumn members: "Pan", "Tilt"
and "Time".
Under the big header button "Position", th
te it with this when I have the time.
> Thanks for the pointer!
The signal that is emitted when cursor moves is
GtkTreeView::cursor-changed. GtkTreeView::move-cursor is action signal
that can be safely emitted by application.
Tadej
--
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
Oh, I had the impression that the move-cursor signal was emitted by
the TreeView when the cursor was moved. I didn't know it was the other
way around. I've already managed to get it working after reading your
earlier email, but I might rewrite it with this when I have the time.
Thanks for the point
Hi.
> Nonetheless, it feels a bit unnatural to replicate in my code behavior
> that's already available in GtkTreeView, just so I can remap the
> keys.. but whatever works, I guess (:
Alternatively, you can also emit GtkTreeView::move-cursor signal with
proper arguments, but gett
gtk_tree_view_row_expanded looks like it should do the trick...
thanks! I can't believe I missed that in the docs.
Nonetheless, it feels a bit unnatural to replicate in my code behavior
that's already available in GtkTreeView, just so I can remap the
keys.. but whatever works, I guess (
1 - 100 of 396 matches
Mail list logo