LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2022, 01:47 AM   #1
perosoft
LQ Newbie
 
Registered: Jun 2019
Posts: 1

Rep: Reputation: Disabled
GTK view=gtk_tree_view_new ()


Lose data from the cell under editing when view lose focus.
How can I prevent this, view has no focus out signal.

Thannks !
 
Old 09-17-2022, 11:23 AM   #2
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 956

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
That behavior is intentional. It prevents the user from partially editing a cell while doing something else that could change the tree.

For more than temporary editing, use a GtkEntry or GtkTextView. If none of the widgets have the desired behavior, use a blank GtkDrawingArea and write the editor yourself.
Ed
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "<gtk/gtk.h> not found" when trying to compile C GTK program. bcsm Programming 4 07-25-2021 01:28 PM
[SOLVED] [GTK-3.0]How to view the commands, the GTK-based Application is executing? anon093 Linux - Newbie 4 12-20-2020 03:48 AM
In addition to "view new posts" about "View last 24 hours" KimVette LQ Suggestions & Feedback 3 10-30-2005 11:22 AM
W2K cannot view samba share but can view NT FiveFlat Linux - Software 3 06-10-2005 03:54 PM
View more than 25 threads on the "view new posts" page lfslinux LQ Suggestions & Feedback 2 02-02-2002 01:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration