fun sensitive: Bool is extern `{
return gtk_widget_get_sensitive(recv);
`}
+
+ # Set the visibility of the widget
+ fun visible=(visible: Bool) is extern `{
+ gtk_widget_set_visible(recv, visible);
+ `}
+
+ # Get the visibility of the widget only
+ fun visible_self: Bool is extern `{
+ return gtk_widget_get_visible(recv);
+ `}
+
+ # Get the visibility of the widget, check if it's parents are visible too
+ fun visible: Bool is extern `{
+ return gtk_widget_is_visible(recv);
+ `}
end
#Base class for widgets which contain other widgets
fun get_child_at( left : Int, top : Int ): GtkWidget is extern `{
return gtk_grid_get_child_at( recv, left, top );
`}
+
+ # Insert a row at the specified position
+ fun insert_row( position :Int ) is extern `{
+ gtk_grid_insert_row( recv, position );
+ `}
+
+ # Insert a column at the specified position
+ fun insert_column( position : Int ) is extern `{
+ gtk_grid_insert_column( recv, position );
+ `}
end
#The tree interface used by GtkTreeView
gtk_entry_set_text( recv, String_to_cstring( value ) );
`}
- fun visible : Bool is extern `{
+ # Is the text visible or is it the invisible char (such as '*')?
+ fun visiblility: Bool is extern `{
return gtk_entry_get_visibility( recv );
`}
- fun visible=( is_visible : Bool) is extern `{
+ # Set the text visiblility
+ # If false, will use the invisible char (such as '*')
+ fun visibility=( is_visible : Bool) is extern `{
gtk_entry_set_visibility( recv, is_visible );
`}