Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

issue-39-KeyPressEvent #40

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/Mars-Gtk/GtkDrawingArea.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,3 @@ GtkDrawingArea >> registerToAllEvents [

self events: GDK_ALL_EVENTS_MASK value
]

{ #category : #private }
GtkDrawingArea >> setSizeRequestWidth: width height: height [

self
ffiCall: #(void gtk_widget_set_size_request #(self , gint width , gint height))
]
6 changes: 6 additions & 0 deletions src/Mars-Gtk/GtkEntry.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ GtkEntry >> g_utf8_to_ucs4: aString [
^ self ffiCall: #(gunichar g_utf8_get_char(String aString)) module: GLibLibrary
]

{ #category : #private }
GtkEntry >> imContextFilterKeypress: event [

^ self ffiCall: #(gboolean gtk_entry_im_context_filter_keypress (self, GdkEventKey *event))
]

{ #category : #accessing }
GtkEntry >> inputPurpose [

Expand Down
6 changes: 6 additions & 0 deletions src/Mars-Gtk/GtkOverlay.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,9 @@ GtkOverlay >> basicAddOverlay: aWidget [

^ self ffiCall: #(void gtk_overlay_add_overlay (self, GtkWidget *aWidget))
]

{ #category : #adding }
GtkOverlay >> setOverlayPassThrougth: boolean child: aChild [

^ self ffiCall: #(void gtk_overlay_set_overlay_pass_through (self, GtkWidget *aChild, gboolean boolean))
]
5 changes: 5 additions & 0 deletions src/Mars-Gtk/GtkTextView.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ GtkTextView >> getBuffer [
self ffiCall: #(GtkTextBuffer *gtk_text_view_get_buffer (self))
]

{ #category : #accessing }
GtkTextView >> imContextFilterKeypress: event [

^ self ffiCall: #(gboolean gtk_text_view_im_context_filter_keypress (self, GdkEventKey *event))

{ #category : #private }
GtkTextView >> getIterLocation: iter to: location [

Expand Down
7 changes: 7 additions & 0 deletions src/Mars-Gtk/GtkWidget.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,13 @@ GtkWidget >> sensitive: sensitive [
self ffiCall: #(void gtk_widget_set_sensitive (self, gboolean sensitive))
]

{ #category : #private }
GtkWidget >> setSizeRequestWidth: width height: height [

self
ffiCall: #(void gtk_widget_set_size_request #(self , gint width , gint height))
]

{ #category : #private }
GtkWidget >> setTooltipText: text [

Expand Down