Re: GtkGrid sets no expand with homogeneous

2014-04-02 Thread Takao Fujiwara
(04/02/14 20:43), Stefan Salewski-san wrote: My guess is that you should set your buttons “expand” property to false. The "expand" property does not effect if homogeneous is TRUE in my test. And the "expand" property is FALSE in GtkWidget by default.

GtkLockButton / GPermission

2014-04-02 Thread Roland Koebler
Hi, is there any example for GtkLockButton (and/or GPermission)? I'm trying to use it, but all I get are segfaults (in Python): 1. Adding a GtkLockButton and clicking on it segfaults: $ python >>> from gi.repository import Gtk >>> w = Gtk.Window() >>> b = Gtk.LockButton() >>> w.add(b) >>> w.show

Re: GtkGrid sets no expand with homogeneous

2014-04-02 Thread Stefan Salewski
On Wed, 2014-04-02 at 19:40 +0900, Takao Fujiwara wrote: > I'd like to port GtkTable to GtkGrid but my cells show big widths. Have you considered this: https://developer.gnome.org/gtk3/stable/GtkGrid.html Description GtkGrid is a container which arranges its child widgets in rows and columns. It

GtkGrid sets no expand with homogeneous

2014-04-02 Thread Takao Fujiwara
I'd like to port GtkTable to GtkGrid but my cells show big widths. I have no problem with GtkTable. The following is the test code. Could you help me to set no expanded cells with homogeneous in GtkGrid? scrolled = gtk_scrolled_window_new (NULL, NULL); gtk_widget_set_size_request (scrolled

GtkPaned: visible handle?

2014-04-02 Thread Roland Koebler
Hi, according to the documentation (and the image on https://developer.gnome.org/gtk3/stable/GtkPaned.html), GtkPaned-widgets have a visible handle (e.g. 4 dots) to show that the user can drag this handle. Unfortunately, these handles are invisible here -- both in Glade and in the running program