Windows that I create via Gtk.Builder don’t have the resize "grips"when I hover the mouse over the window edges. Why? I don’t see any settings in Cambalache for this, or anything in the docs for Gtk.Window that discusses enabling resizing via the mouse. I can maximize the window with SUPER + Up. My builder xml:
<!-- Created with Cambalache 0.92.1 -->
<interface>
<!-- interface-name example_app.ui -->
<requires lib="gtk" version="4.12"/>
<object class="GtkWindow" id="main_window">
<property name="receives-default">True</property>
<child>
<object class="GtkBox">
<property name="spacing">5</property>
<child>
<object class="GtkBox" id="customer_list_box">
<property name="orientation">vertical</property>
</object>
</child>
</object>
</child>
</object>
</interface>
Most of the example app ( or simplest example that demonstrates the issue ):
gi.require_version("Gtk", "4.0")
gi.require_version("Adw", "1")
from gi.repository import Gtk , Adw
class ExampleApplication( Adw.Application ):
def __init__( self , **kwargs ):
super().__init__( **kwargs )
self.connect( 'activate' , self.on_activate )
def on_activate( self , app ):
self.builder = Gtk.Builder( self )
self.builder.add_from_file( 'example_app.ui' )
self.example_window = self.builder.get_object('main_window')
self.example_window.set_application( self )
self.example_window.present()
app = ExampleApplication()
app.run()