geting the coordinates of the user’s mouse pointer in GTK4 in C
I am building an app that at certain points needs to know the location of the user’s pointer. I am using GTK4 and C.
How can I get the coordinates of the user’s pointer (controlled by mouse/pointing device) in GTK4 on C?
I am building an app that at certain points needs to know the location of the user’s pointer. I am using GTK4 and C.
How can I get the coordinates of the user’s pointer (controlled by mouse/pointing device) in GTK4 on C?
I am building an app that at certain points needs to know the location of the user’s pointer. I am using GTK4 and C.
Issue with GTK boxes/action bars
I have 2 boxes and actionbars. when I add box2 as a child to the window. When I remove the code that adds the box2 to the window, these errors appear when I try to run the compiled app. No errors at compilation but there are errors when I try to run the app.
gtk_widget_set_size_request() not functioning as intended
I’ve created an action_bar widget with 3 children, a label and 2 buttons. I’ve tried multiple width and height dimensions in the gtk_widget_set_size_request()
method. No matter the dimensions I put the action bar ALWAYS is the same height no matter the size of the window itself.
Make a cropped image and display it with gtk4
I’m currently programming a program in gtk4 and c language, and I try to make a composed image by cropped images, but I can’t do it.
How do I set attributes (particularly color) of a GtkTextView in GTK4 in C?
Thanks in advance for the help.
How to Apply CSS to GTK Application Elements Using CSS Selectors
I’m developing a C++ GTK application and I’m trying to implement a dark mode theme using CSS. I’ve created a style.css file with the necessary styles, but I’m having trouble applying these styles to specific GTK elements such as GtkTextView and GtkSidebar.
Where to pass user_data in this type of method of code
Normally I used this method of coding:
How can I get a resize signal from a window whose contents are fixed size widgets?
thanks in advance for the help!