I am sure this question has been asked and answered a dozen times, but my
search-fu is failing me.
I want to use GTK_WINDOW_POPUP to create a small window that will
close/hide when someone clicks anywhere other than the popup. What is a
good way to do this with GTK3 since a GTK_WINDOW_POPUP does
I am trying to ignore/abort a window re-size event as a manual way to force
a minimum or maximum window size. I am getting the event through it
through configure-event.
Ideally I would not simply ignore the event, but bound the size given, as
such I tried to use gtk_window_resize() to force a
I have two separate GtkListBoxes which are identical in every way except
one is a list of labels while the other is a list of check buttons.
In the first list box, everything works exactly as expected. A light
colored rectangle shows which row I am hovering over, and when I click on
that row, it
To answer my own question, its still required to gtk_widget_show the widget
when its added to the list box.
On Thu, Feb 19, 2015 at 8:00 PM, The Devils Jester
thedevilsjes...@gmail.com wrote:
I am trying to use the GtkListBox widget, and when I add a child widget to
the list using the code
I am trying to use the GtkListBox widget, and when I add a child widget to
the list using the code below, I get a new list entry for each label I add,
but the list entry is only a few pixels in height, and it doesnt appear to
show the actual child widget (just a few pixels of the selection
When I originally designed my GTK2 based app, I had difficulty getting the
window to allow for resizing (smaller) by dragging on the edges/border of
the window. It could always get bigger, but smaller was an issue. I
managed to solve the issue by providing it with a minimal size hint like:
I have some questions about various situations and whether or not GTK or my
program is responsible for freeing the objects/memory in these situations.
Situation 1: I have a (visible) form, with a container, with a widget. I
close the form. Are all the widgets (and the form) cleaned up?
children if it's a container) won't be destroyed.
When you say holding a reference, do you mean something that has manually
increased the reference count?
On Nov 17, 2014 9:33 AM, Tristan Van Berkom tris...@upstairslabs.com
wrote:
On Mon, 2014-11-17 at 09:01 -0600, The Devils Jester wrote:
I
);
gtk_widget_show (window);
gtk_main ();
return 0;
}
On Thu, Nov 13, 2014 at 1:04 PM, The Devils Jester
thedevilsjes...@gmail.com wrote:
With just a cursory glance at the containers documentation and function
list, it seems to be exactly what I need, thank you.
On Thu, Nov 13
In a nutshell I am (more or less) trying to simulate a vertical layout
manager using a GtkFixed layout manager. I have specific need to do this,
rather than just use the Gtk provided one.
The problem occurs when I have to resize a widget in the GtkFixed
container. The function I am using for
10 matches
Mail list logo