Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gtk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oblomov
gtk
Commits
7c8ae8a5
Commit
7c8ae8a5
authored
Jun 02, 1998
by
Lars Hamann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
parent
047e9fcf
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
61 additions
and
19 deletions
+61
-19
ChangeLog
ChangeLog
+6
-0
ChangeLog.pre-2-0
ChangeLog.pre-2-0
+6
-0
ChangeLog.pre-2-10
ChangeLog.pre-2-10
+6
-0
ChangeLog.pre-2-2
ChangeLog.pre-2-2
+6
-0
ChangeLog.pre-2-4
ChangeLog.pre-2-4
+6
-0
ChangeLog.pre-2-6
ChangeLog.pre-2-6
+6
-0
ChangeLog.pre-2-8
ChangeLog.pre-2-8
+6
-0
gtk/gtkcontainer.c
gtk/gtkcontainer.c
+6
-6
gtk/gtknotebook.c
gtk/gtknotebook.c
+13
-13
No files found.
ChangeLog
View file @
7c8ae8a5
Tue Jun 2 20:04:45 1998 Lars Hamann <lars@gtk.org>
* gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
* gtk/gtkcontainer.c (gtk_container_focus_move):
reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
Tue Jun 2 13:04:06 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: minor changes to support auto
...
...
ChangeLog.pre-2-0
View file @
7c8ae8a5
Tue Jun 2 20:04:45 1998 Lars Hamann <lars@gtk.org>
* gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
* gtk/gtkcontainer.c (gtk_container_focus_move):
reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
Tue Jun 2 13:04:06 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: minor changes to support auto
...
...
ChangeLog.pre-2-10
View file @
7c8ae8a5
Tue Jun 2 20:04:45 1998 Lars Hamann <lars@gtk.org>
* gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
* gtk/gtkcontainer.c (gtk_container_focus_move):
reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
Tue Jun 2 13:04:06 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: minor changes to support auto
...
...
ChangeLog.pre-2-2
View file @
7c8ae8a5
Tue Jun 2 20:04:45 1998 Lars Hamann <lars@gtk.org>
* gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
* gtk/gtkcontainer.c (gtk_container_focus_move):
reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
Tue Jun 2 13:04:06 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: minor changes to support auto
...
...
ChangeLog.pre-2-4
View file @
7c8ae8a5
Tue Jun 2 20:04:45 1998 Lars Hamann <lars@gtk.org>
* gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
* gtk/gtkcontainer.c (gtk_container_focus_move):
reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
Tue Jun 2 13:04:06 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: minor changes to support auto
...
...
ChangeLog.pre-2-6
View file @
7c8ae8a5
Tue Jun 2 20:04:45 1998 Lars Hamann <lars@gtk.org>
* gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
* gtk/gtkcontainer.c (gtk_container_focus_move):
reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
Tue Jun 2 13:04:06 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: minor changes to support auto
...
...
ChangeLog.pre-2-8
View file @
7c8ae8a5
Tue Jun 2 20:04:45 1998 Lars Hamann <lars@gtk.org>
* gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
* gtk/gtkcontainer.c (gtk_container_focus_move):
reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
Tue Jun 2 13:04:06 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: minor changes to support auto
...
...
gtk/gtkcontainer.c
View file @
7c8ae8a5
...
...
@@ -1044,16 +1044,16 @@ gtk_container_focus_move (GtkContainer *container,
}
else
if
(
GTK_WIDGET_VISIBLE
(
child
))
{
if
(
GTK_WIDGET_CAN_FOCUS
(
child
))
{
gtk_widget_grab_focus
(
child
);
return
TRUE
;
}
else
if
(
GTK_IS_CONTAINER
(
child
))
if
(
GTK_IS_CONTAINER
(
child
))
{
if
(
gtk_container_focus
(
GTK_CONTAINER
(
child
),
direction
))
return
TRUE
;
}
else
if
(
GTK_WIDGET_CAN_FOCUS
(
child
))
{
gtk_widget_grab_focus
(
child
);
return
TRUE
;
}
}
}
...
...
gtk/gtknotebook.c
View file @
7c8ae8a5
...
...
@@ -2650,7 +2650,13 @@ gtk_notebook_focus (GtkContainer *container,
{
if
(
GTK_WIDGET_VISIBLE
(
notebook
->
cur_page
->
child
))
{
if
(
GTK_WIDGET_CAN_FOCUS
(
notebook
->
cur_page
->
child
))
if
(
GTK_IS_CONTAINER
(
notebook
->
cur_page
->
child
))
{
if
(
gtk_container_focus
(
GTK_CONTAINER
(
notebook
->
cur_page
->
child
),
direction
))
return
TRUE
;
}
else
if
(
GTK_WIDGET_CAN_FOCUS
(
notebook
->
cur_page
->
child
))
{
if
(
!
focus_child
)
{
...
...
@@ -2658,12 +2664,6 @@ gtk_notebook_focus (GtkContainer *container,
return
TRUE
;
}
}
else
if
(
GTK_IS_CONTAINER
(
notebook
->
cur_page
->
child
))
{
if
(
gtk_container_focus
(
GTK_CONTAINER
(
notebook
->
cur_page
->
child
),
direction
))
return
TRUE
;
}
}
return
FALSE
;
}
...
...
@@ -2759,17 +2759,17 @@ gtk_notebook_page_select (GtkNotebook *notebook)
if
(
GTK_WIDGET_VISIBLE
(
page
->
child
))
{
if
(
GTK_WIDGET_CAN_FOCUS
(
page
->
child
))
{
gtk_widget_grab_focus
(
page
->
child
);
return
TRUE
;
}
else
if
(
GTK_IS_CONTAINER
(
page
->
child
))
if
(
GTK_IS_CONTAINER
(
page
->
child
))
{
if
(
gtk_container_focus
(
GTK_CONTAINER
(
page
->
child
),
GTK_DIR_TAB_FORWARD
))
return
TRUE
;
}
else
if
(
GTK_WIDGET_CAN_FOCUS
(
page
->
child
))
{
gtk_widget_grab_focus
(
page
->
child
);
return
TRUE
;
}
}
}
return
FALSE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment