Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

I have the following PyGObject code as an MWE: import gi gi.require_version("Gtk", "4.0") from gi.repository import Gtk, GLib class FontSizeApp(Gtk.Application): def __init__(...
John's user avatar
  • 41
0 votes
0 answers
62 views

I have a sample GTK4 application where a list of entries is arranged vertically in a scrolled window. When I test the application using a mouse by continuously scrolling the window, the app does not ...
1 vote
2 answers
469 views

I am using GTK 4 with Python and have a Gtk.Entry widget which I would like to limit the characters which can be entered to numbers only. How do I do that?
Fred's user avatar
  • 13k
1 vote
1 answer
377 views

I have a Gtk entry. I need to completely remove this caret cursor, how can I do this? I searched for information about this for a long time but found only how to remove the blinking of Gtk entry.
0 votes
0 answers
215 views

I am using a Gtk.Entry and writing from left to right (xalign==0.0). When the entry is not empty, the cursor is to the right of the text (as expected): But when the entry is empty, the cursor is on ...
0 votes
1 answer
1k views

I am encountering the following error (twice) when I try to disable an entry field: (SDS-CW:7145): Pango-CRITICAL **: 16:38:37.521: pango_layout_get_cursor_pos: assertion 'index >= 0 && ...
1 vote
0 answers
197 views

I'm writing a gtk app using python. The application uses a lot of gtk entry, that are empty when i start the program. Is there a way to "save" the entry text when i close the application, and then ...
8 votes
1 answer
4k views

I'm developing a GUI with PyGObject and am trying to style all the entry widgets. From this post I get the impression that I should be able to create a CSS style that would apply to all GtkEntry ...
1 vote
1 answer
283 views

I want to highlight the text of a Gtk.Entry, like this: The first solution that came to me was foreign drawing, but I would have to manage everything myself. Other thought I had was to extend Gtk....
2 votes
1 answer
2k views

Python3-Gtk3 In a GtkEntry justified on the right if I replace the content the cursor is on the left of the string. I would like him to be right. The 'cursor-position' property is read-only. How to ...
phdb44's user avatar
  • 55
3 votes
1 answer
2k views

I have been using Gtk Entry till now which offers set_placeholder_text method to set a placeholder text in it however, looking in the documentation , I found no such method for TextView . Is there ...
1 vote
0 answers
303 views

I have define a GtkEntry in GJS like so: let myEntry = new Gtk.Entry({ hexpand: true, placeholder_text: "Type here...", secondary_icon_name: "dialog-error-symbolic", ...
andy.holmes's user avatar
  • 3,751
1 vote
1 answer
750 views

I am trying to create a custom Gtk text entry. The basic idea is to put a button inside of a text entry. Here is a shortened version of my full code: import gi gi.require_version('Gtk', '3.0') from ...
0 votes
1 answer
580 views

I want one or several gtk.Entry reply to a button created by me (gtk.Button) instead of a enter key. I ́m using Python 2.7 Is it possible?
Zator's user avatar
  • 23
1 vote
1 answer
1k views

In GTK/Python, I'm trying to build an interface with nodes. This is photo of my interface I create one liststore and I want to filter different things. The user has to do two actions, first, he has ...

15 30 50 per page
1
2 3 4

AltStyle によって変換されたページ (->オリジナル) /